|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.osgi.ProxyActivator
public class ProxyActivator
Proxy Bundle activator
The bundle register itself (through the RegistrationListener interface) within the SOFA2 runtime when it starts. Moreover, it handles service registration/unregistration (managed by the SOFA2 runtime)
Constructor Summary | |
---|---|
ProxyActivator()
|
Method Summary | |
---|---|
boolean |
register(java.lang.Object object,
java.util.Dictionary properties)
Registers an OSGi service |
void |
start(org.osgi.framework.BundleContext context)
Called when proxy bundle starts |
void |
stop(org.osgi.framework.BundleContext context)
Called when proxy bundle stops |
boolean |
unregister(java.lang.Object service)
Unregisters an OSGi service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyActivator()
Method Detail |
---|
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
context
- the execution context
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
context
- the execution context
java.lang.Exception
public boolean register(java.lang.Object object, java.util.Dictionary properties)
register
in interface RegistrationListener
object
- the service implementationproperties
- the service properties
public boolean unregister(java.lang.Object service)
unregister
in interface RegistrationListener
service
- the service implementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |