Searched defs:codebase (Results 1 - 25 of 25) sorted by relevance

/openjdk7/corba/src/share/classes/javax/rmi/CORBA/
H A DClassDesc.java45 * @serial A space-separated list of codebase URLs.
47 private String codebase; field in class:ClassDesc
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DLoaderHandler.java49 * <code>java.rmi.server.codebase</code> property.
54 * if the system property <b>java.rmi.server.codebase</b>
58 * be found at the codebase location.
69 * @param codebase the URL from which to load the class
73 * if the <code>codebase</code> paramater
82 Class<?> loadClass(URL codebase, String name) argument
H A DRMIClassLoaderSpi.java70 * Loads a class from a codebase URL path, optionally using the
76 * codebase URL path.
81 * @param codebase the list of URLs (separated by spaces) to load
91 * @throws MalformedURLException if <code>codebase</code> is
93 * if <code>codebase</code> is <code>null</code> and a provider-specific
99 public abstract Class<?> loadClass(String codebase, String name, argument
109 * from a codebase URL path, optionally using the supplied loader.
114 * @param codebase the list of URLs (space-separated) to load
125 * @throws MalformedURLException if <code>codebase</code> is
127 * if <code>codebase</cod
137 loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader) argument
173 getClassLoader(String codebase) argument
[all...]
H A DRMIClassLoader.java143 * could not be found at the codebase location
156 * Loads a class from a codebase URL.
158 * If <code>codebase</code> is <code>null</code>, then this method
160 * <code>null</code> <code>codebase</code> and the given class name.
166 * <code>codebase</code> is null) as the first argument,
170 * @param codebase the URL to load the class from, or <code>null</code>
176 * @throws MalformedURLException if <code>codebase</code> is
183 public static Class<?> loadClass(URL codebase, String name) argument
187 codebase != null ? codebase
216 loadClass(String codebase, String name) argument
260 loadClass(String codebase, String name, ClassLoader defaultLoader) argument
307 loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader) argument
352 getClassLoader(String codebase) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/transport/
H A DCorbaAcceptor.java45 String codebase);
44 addToIORTemplate(IORTemplate iorTemplate, Policies policies, String codebase) argument
H A DCorbaTransportManager.java53 String codebase,
51 addToIORTemplate(IORTemplate iorTemplate, Policies policies, String codebase, String objectAdapterManagerId, ObjectAdapterId objectAdapterId) argument
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/spi/
H A DTestProvider2.java61 public Class loadClass(String codebase, String name, argument
66 new Object[] { codebase, name, defaultLoader }));
71 public Class loadProxyClass(String codebase, String[] interfaces, argument
76 new Object[] { codebase, interfaces, defaultLoader }));
81 public ClassLoader getClassLoader(String codebase) argument
85 getClassLoaderMethod, new Object[] { codebase }));
H A DTestProvider.java82 public Class loadClass(String codebase, String name, argument
87 new Object[] { codebase, name, defaultLoader }));
92 public Class loadProxyClass(String codebase, String[] interfaces, argument
97 new Object[] { codebase, interfaces, defaultLoader }));
102 public ClassLoader getClassLoader(String codebase) argument
106 getClassLoaderMethod, new Object[] { codebase }));
136 String codebase = codebaseURL.toString();
173 new Object[] { codebase, classname, null }, invocationQueue);
181 ret = RMIClassLoader.loadClass(codebase, classname);
187 new Object[] { codebase, classnam
[all...]
/openjdk7/jdk/test/javax/management/loading/
H A DMLetContentTest.java109 attributes.put("codebase", codebase);
112 if (!content.getCodeBase().toString().equals(baseUrl+codebase)) {
127 URL codebase,
143 private final static String codebase = "my code base/"; field in class:MLetContentTest
126 check(String version, URL codebase, String jarfile, MLetContent content) argument
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/
H A DJDKBridge.java55 * Get local codebase System property (java.rmi.server.codebase).
121 private static final String LOCAL_CODEBASE_KEY = "java.rmi.server.codebase";
149 * Set the codebase and useCodebaseOnly properties. This is public
172 public static synchronized void setLocalCodebase(String codebase) { argument
173 localCodebase = codebase;
H A DUtility.java266 * @param remoteCodebase the codebase to use. May be null.
337 * @param remoteCodebase the codebase to use. May be null.
388 public static BoxedValueHelper getHelper(Class clazz, String codebase, argument
394 if (codebase == null)
395 codebase = Util.getCodebase(clazz);
408 loadClassForClass(className+"Helper", codebase, clazzLoader,
432 public static ValueFactory getFactory(Class clazz, String codebase, argument
448 if (codebase == null)
449 codebase = Util.getCodebase(clazz);
462 (clazz == null && codebase
[all...]
H A DRepositoryId.java39 // Imports for using codebase URL to load class
527 public final Class getClassFromType(Class expectedType, String codebase) argument
540 codebase,
/openjdk7/jdk/src/share/classes/com/sun/naming/internal/
H A DVersionHelper12.java76 * @param codebase A non-null, space-separated list of URL strings.
78 public Class loadClass(String className, String codebase) argument
83 cl = URLClassLoader.newInstance(getUrlArray(codebase), parent);
193 * This is used to enumerate the resources under a foreign codebase.
H A DVersionHelper.java87 public abstract Class loadClass(String className, String codebase) argument
136 static protected URL[] getUrlArray(String codebase) argument
138 // Parse codebase into separate URLs
139 StringTokenizer parser = new StringTokenizer(codebase);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/
H A DIIOPProfileImpl.java89 protected String codebase = null ; field in class:IIOPProfileImpl
199 // If there is no codebase in this IOR and there IS a
200 // java.rmi.server.codebase property set, we need to
201 // update the IOR with the local codebase. Note that
202 // there is only one instance of the local codebase, but it
211 codebase = jcc.getURLs() ;
214 // Whether codebase is null or not, we have it,
272 codebase = uncachedGetCodeBase() ;
275 return codebase ;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DCorbaTransportManagerImpl.java230 String codebase,
238 acceptor.addToIORTemplate(iorTemplate, policies, codebase);
228 addToIORTemplate(IORTemplate iorTemplate, Policies policies, String codebase, String objectAdapterManagerId, ObjectAdapterId objectAdapterId) argument
H A DSocketOrChannelAcceptorImpl.java325 String codebase)
370 if (codebase != null && codebase != "") {
371 iiopProfile.add(IIOPFactories. makeJavaCodebaseComponent(codebase));
323 addToIORTemplate(IORTemplate iorTemplate, Policies policies, String codebase) argument
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/oa/
H A DObjectAdapterBase.java113 boolean notifyORB, Policies policies, String codebase,
124 codebase, objectAdapterManagerId, objectAdapterId);
112 initializeTemplate( ObjectKeyTemplate oktemp, boolean notifyORB, Policies policies, String codebase, String objectAdapterManagerId, ObjectAdapterId objectAdapterId) argument
/openjdk7/jdk/src/share/classes/javax/management/loading/
H A DMLet.java534 URL codebase = elmt.getCodeBase();
544 .append("\n\tCODEBASE = ").append(codebase)
561 "Load archive for codebase <" + codebase +
564 // Check which is the codebase to be used for loading the jar file.
571 codebase = check(version, codebase, tok, elmt);
583 .contains(new URL(codebase.toString() + tok))) {
584 addURL(codebase + tok);
662 o = loadSerializedObject(codebase,serNam
1228 check(String version, URL codebase, String jarfile, MLetContent mlet) argument
1246 loadSerializedObject(URL codebase, String filename) argument
[all...]
/openjdk7/jdk/test/java/rmi/testlibrary/
H A DTestLibrary.java189 * given "codebase" directory. As a result the test can only
200 String codebase)
203 return installClassInCodebase(className, codebase, true);
207 String codebase,
213 * and the codebase must be a relative path (it's created relative
220 * that the codebase directory exists (underneath the working
223 File dstDir = (new File(getProperty("user.dir", "."), codebase));
228 "could not create codebase directory");
234 * Obtain the URL for the codebase.
250 * If the class definition is not already located at the codebase,
199 installClassInCodebase(String className, String codebase) argument
206 installClassInCodebase(String className, String codebase, boolean delete) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/server/
H A DLoaderHandler.java82 * value of "java.rmi.server.codebase" property, as cached at class
88 new GetPropertyAction("java.rmi.server.codebase"));
94 /** list of URLs represented by the codebase property, if valid */
97 /** table of class loaders that use codebase property for annotation */
110 * table mapping codebase URL path and context class loader pairs
129 * java.rmi.server.codebase property as the URL path.
135 * If it hasn't already been done, convert the codebase property
153 public static Class<?> loadClass(String codebase, String name, argument
160 "codebase = \"" + (codebase !
290 getClassLoader(String codebase) argument
474 loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletPanel.java172 // 4668479: Option to turn off codebase lookup in AppletClassLoader
1006 protected AppletClassLoader createClassLoader(final URL codebase) { argument
1007 return new AppletClassLoader(codebase);
1013 synchronized AppletClassLoader getClassLoader(final URL codebase, final String key) { argument
1017 getAccessControlContext(codebase);
1021 AppletClassLoader ac = createClassLoader(codebase);
1056 * connnect to the codebase, and whatever else the policy grants
1059 private AccessControlContext getAccessControlContext(final URL codebase) { argument
1084 urlConnection = codebase.openConnection();
1109 URL locUrl = codebase;
[all...]
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DPolicyParser.java76 * object, which encapsulates its codebase (URL) and public key attributes.
639 static String[] parseExtDirs(String codebase, int start) { argument
642 String globalPrefix = (start > 0 ? codebase.substring(0, start) : "file:");
644 String globalSuffix = (end < codebase.length() ? codebase.substring(end) :
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDRInputStream_1_0.java162 // codebase cache
786 String codebase = ior.getProfile().getCodebase();
788 Utility.loadStub( (Tie)servant, stubFactory, codebase,
1229 // and codebase strings in the wrong order.
1313 private java.lang.Object readBoxedIDLEntity(Class clazz, String codebase) argument
1320 cls = Utility.loadClassForClass(clazz.getName()+"Helper", codebase,
1357 Class clazz, String codebase)
1371 factory = Utility.getFactory(clazz, codebase, orb, repId);
1380 BoxedValueHelper helper = Utility.getHelper(clazz, codebase, repId);
1388 return readBoxedIDLEntity(clazz, codebase);
1356 readIDLValue(int indirection, String repId, Class clazz, String codebase) argument
[all...]
H A DCDROutputStream_1_0.java1337 String codebase) {
1340 if (codebase == null) {
1346 write_codebase(codebase, get_offset());
1349 if (codebase == null) {
1355 write_codebase(codebase, get_offset());
1358 if (codebase == null) {
1364 write_codebase(codebase, get_offset());
1367 if (codebase == null) {
1373 write_codebase(codebase, get_offset());
1496 // and codebase string
1336 writeValueTag(boolean chunkIt, boolean useRepId, String codebase) argument
[all...]

Completed in 111 milliseconds