|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.servicebinder.GenericActivator
public abstract class GenericActivator
The GenericActivator, it will read information from the metadata.xml file and will create the corresponding instance managers
| Constructor Summary | |
|---|---|
GenericActivator()
|
|
| Method Summary | |
|---|---|
protected BundleContext |
getBundleContext()
Returns the BundleContext |
protected List |
getInstanceReferences()
Returns the list of instance references currently associated to this activator |
protected Object |
proxyProvidedServiceObject(Object obj,
InstanceMetadata descriptor)
Method called before an object implementing services is registered in the OSGi framework. |
protected Object |
proxyRequiredServiceObject(Object obj,
DependencyMetadata descriptor)
Method called before the binding of the service object occurs. |
void |
start(BundleContext context)
Called upon starting of the bundle. |
void |
stop(BundleContext context)
Stop method that destroys all the instance managers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericActivator()
| Method Detail |
|---|
public void start(BundleContext context)
throws Exception
start in interface BundleActivatorcontext - The bundle context passed by the framework
Exception - any exception thrown from initialize
public void stop(BundleContext context)
throws Exception
stop in interface BundleActivatorcontext - The Bundle Context passed by the framework
Exception - any exception thrown during destruction of the instance managersprotected List getInstanceReferences()
protected BundleContext getBundleContext()
protected Object proxyProvidedServiceObject(Object obj,
InstanceMetadata descriptor)
obj - the instance objectdescriptor - the instance descriptor that provides information relevant to
the instance object
protected Object proxyRequiredServiceObject(Object obj,
DependencyMetadata descriptor)
obj - the instance objectdescriptor - the dependency descriptor that provides information relevant to
the service object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||