|
||||||||||
| 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 org.osgi.framework.BundleContext |
getBundleContext()
Returns the BundleContext |
protected java.util.List |
getInstanceReferences()
Returns the list of instance references currently associated to this activator |
protected java.lang.Object |
proxyProvidedServiceObject(java.lang.Object obj,
InstanceMetadata descriptor)
Method called before an object implementing services is registered in the OSGi framework. |
protected java.lang.Object |
proxyRequiredServiceObject(java.lang.Object obj,
DependencyMetadata descriptor)
Method called before the binding of the service object occurs. |
void |
start(org.osgi.framework.BundleContext context)
Called upon starting of the bundle. |
void |
stop(org.osgi.framework.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(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorcontext - The bundle context passed by the framework
java.lang.Exception - any exception thrown from initialize
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorcontext - The Bundle Context passed by the framework
java.lang.Exception - any exception thrown during destruction of the instance managersprotected java.util.List getInstanceReferences()
protected org.osgi.framework.BundleContext getBundleContext()
protected java.lang.Object proxyProvidedServiceObject(java.lang.Object obj,
InstanceMetadata descriptor)
obj - the instance objectdescriptor - the instance descriptor that provides information relevant to
the instance object
protected java.lang.Object proxyRequiredServiceObject(java.lang.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 | |||||||||