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 ProxyCodebaseSpi
IOException
ClassNotFoundException
public void start(org.osgi.framework.BundleContext bc) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext bc) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public boolean substitute(Class serviceClass, ClassLoader streamLoader)
substitute
in interface ProxyCodebaseSpi
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.