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.3.4.2 $
22: */package java.rmi.server;
23:
24: import java.net.MalformedURLException;
25: import java.net.URL;
26:
27: /**
28: * @com.intel.drl.spec_ref
29: *
30: * @author Mikhail A. Markov
31: * @version $Revision: 1.3.4.2 $
32: * @deprecated This interface was being used by previous versions of RMI.
33: * It should not be used anymore. There is no replacement.
34: */
35: @Deprecated
36: public interface LoaderHandler {
37:
38: /**
39: * @com.intel.drl.spec_ref
40: */
41: @Deprecated
42: public static final String packagePrefix = "org.apache.harmony.rmi"; //$NON-NLS-1$
43:
44: /**
45: * @com.intel.drl.spec_ref
46: */
47: @Deprecated
48: public Object getSecurityContext(ClassLoader loader);
49:
50: /**
51: * @com.intel.drl.spec_ref
52: */
53: @Deprecated
54: public Class<?> loadClass(URL codebase, String name)
55: throws MalformedURLException, ClassNotFoundException;
56:
57: /**
58: * @com.intel.drl.spec_ref
59: */
60: @Deprecated
61: public Class<?> loadClass(String name)
62: throws MalformedURLException, ClassNotFoundException;
63: }
|