public class ProxyBundleProvider extends Object implements ProxyCodebaseSpi, org.osgi.framework.BundleActivator
ProxyCodebaseSpi.Util| Constructor and Description |
|---|
ProxyBundleProvider() |
| Modifier and Type | Method and Description |
|---|---|
Object |
resolve(CodebaseAccessor bootstrapProxy,
MarshalledInstance smartProxy,
ClassLoader parent,
ClassLoader verifier,
Collection context) |
void |
start(org.osgi.framework.BundleContext bc) |
void |
stop(org.osgi.framework.BundleContext bc) |
boolean |
substitute(Class serviceClass,
ClassLoader streamLoader) |
public Object resolve(CodebaseAccessor bootstrapProxy, MarshalledInstance smartProxy, ClassLoader parent, ClassLoader verifier, Collection context) throws IOException, ClassNotFoundException
resolve in interface ProxyCodebaseSpiIOExceptionClassNotFoundExceptionpublic void start(org.osgi.framework.BundleContext bc)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic void stop(org.osgi.framework.BundleContext bc)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionpublic boolean substitute(Class serviceClass, ClassLoader streamLoader)
substitute in interface ProxyCodebaseSpiCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.