|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.servicebinder.impl.ArchitectureServiceImpl
public class ArchitectureServiceImpl
Class that implements the architecture service an object of this class is created when the service binder bundle is activated
| Constructor Summary | |
|---|---|
ArchitectureServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
activate()
This method is called after the instance is created, all of its dependencies are valid, and all implemented services are registered. |
static void |
addInstanceReference(InstanceReference ref)
|
void |
addServiceBinderListener(ServiceBinderListener listener)
Add a service binder listener |
void |
deactivate()
This method is called prior to instance disposal. |
static InstanceReference |
findInstanceReference(Object obj)
|
void |
fireDependencyChangeEvent(DependencyChangeEvent evt)
Fires an event when a dependency has changed |
void |
fireInstanceChangeEvent(InstanceChangeEvent evt)
Fires an event when an instance has changed |
Instance[] |
getInstances()
Get a list of all the available instance references |
static ArchitectureServiceImpl |
getReference()
|
static void |
removeInstanceReference(InstanceReference ref)
|
void |
removeServiceBinderListener(ServiceBinderListener listener)
Remove a service binder listener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArchitectureServiceImpl()
throws Exception
Exception| Method Detail |
|---|
public static InstanceReference findInstanceReference(Object obj)
public static void addInstanceReference(InstanceReference ref)
public static void removeInstanceReference(InstanceReference ref)
public Instance[] getInstances()
ArchitectureService
getInstances in interface ArchitectureServicepublic static ArchitectureServiceImpl getReference()
public void activate()
Lifecycle
activate in interface Lifecyclepublic void deactivate()
Lifecycle
deactivate in interface Lifecyclepublic void addServiceBinderListener(ServiceBinderListener listener)
addServiceBinderListener in interface ArchitectureServicelistener - a ServiceBinderListener to add to the Architecture servicepublic void removeServiceBinderListener(ServiceBinderListener listener)
removeServiceBinderListener in interface ArchitectureServicelistener - the listener to be removedpublic void fireInstanceChangeEvent(InstanceChangeEvent evt)
public void fireDependencyChangeEvent(DependencyChangeEvent evt)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||