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

12

/openjdk7/jdk/test/java/rmi/MarshalledObject/compare/
H A DmakeAnnotatedRef2 java -Djava.rmi.server.codebase=http://jini.east Compare 11 > annotatedRef
/openjdk7/jdk/src/share/classes/java/rmi/server/
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...]
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
/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/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/hotspot/agent/make/
H A Dstart-debug-server-proc.sh34 $STARTDIR/java -classpath $CP ${OPTIONS} -Djava.rmi.server.codebase=file://$CP -Djava.security.policy=${STARTDIR}/grantAll.policy sun.jvm.hotspot.DebugServer $*
H A Dstart-debug-server-proc64.sh34 $SA_JAVA -d64 -classpath $CP ${OPTIONS} -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*
H A Dstart-debug-server18 $SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*
/openjdk7/jdk/src/share/classes/sun/rmi/server/
H A DMarshalInputStream.java85 * URL specified by the "java.rmi.server.codebase" property.
204 * load from the local loader using the "java.rmi.server.codebase"
205 * URL. Otherwise, load from a loader using the codebase URL in
208 String codebase = null;
210 codebase = (String) annotation;
214 return RMIClassLoader.loadClass(codebase, className,
250 String codebase = null;
252 codebase = (String) annotation;
255 return RMIClassLoader.loadProxyClass(codebase, interfaces,
316 * "java.rmi.server.codebase" propert
[all...]
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/corba/src/share/classes/com/sun/corba/se/impl/oa/toa/
H A DTOAFactory.java86 public synchronized TOA getTOA( String codebase )
88 TOA toa = (TOA)(codebaseToTOA.get( codebase )) ;
90 toa = new TOAImpl( orb, tom, codebase ) ;
92 codebaseToTOA.put( codebase, toa ) ;
102 // objrefs, so its codebase can be null (and must
/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/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/jdk/src/share/classes/com/sun/naming/internal/
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);
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.
/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...]
/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/test/java/rmi/registry/readTest/
H A DreadTest.sh28 # @summary remove java.rmi.server.codebase property parsing from RegistryImpl
79 # trailing / after code base is important for rmi codebase property.
80 ${TESTJAVA}${FS}bin${FS}java -cp $TEST_CLASSPATH -Djava.rmi.server.codebase=${FILEURL}$CODEBASE/ readTest > OUT.TXT 2>&1 &
/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/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/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...]

Completed in 109 milliseconds

12