01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: *
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: /**
20: * @author Mikhail A. Markov
21: * @version $Revision: 1.4.4.1 $
22: */package java.rmi.server;
23:
24: import java.net.MalformedURLException;
25:
26: /**
27: * @com.intel.drl.spec_ref
28: *
29: * @author Mikhail A. Markov
30: * @version $Revision: 1.4.4.1 $
31: */
32: public abstract class RMIClassLoaderSpi {
33:
34: /**
35: * @com.intel.drl.spec_ref
36: */
37: public RMIClassLoaderSpi() {
38: }
39:
40: /**
41: * @com.intel.drl.spec_ref
42: */
43: public abstract Class<?> loadProxyClass(String codebase,
44: String[] interf, ClassLoader defaultCl)
45: throws MalformedURLException, ClassNotFoundException;
46:
47: /**
48: * @com.intel.drl.spec_ref
49: */
50: public abstract Class<?> loadClass(String codebase, String name,
51: ClassLoader defaultCl) throws MalformedURLException,
52: ClassNotFoundException;
53:
54: /**
55: * @com.intel.drl.spec_ref
56: */
57: public abstract String getClassAnnotation(Class<?> cl);
58:
59: /**
60: * @com.intel.drl.spec_ref
61: */
62: public abstract ClassLoader getClassLoader(String name)
63: throws MalformedURLException;
64: }
|