|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.ipojo.Handler
org.apache.felix.ipojo.composite.CompositeHandler
org.apache.felix.ipojo.composite.service.provides.ProvidedServiceHandler
public class ProvidedServiceHandler
Composite Provided Service Handler.
| Field Summary |
|---|
| Fields inherited from class org.apache.felix.ipojo.composite.CompositeHandler |
|---|
HANDLER_TYPE |
| Fields inherited from class org.apache.felix.ipojo.Handler |
|---|
HANDLER_LEVEL_PROPERTY, HANDLER_NAME_PROPERTY, HANDLER_NAMESPACE_PROPERTY, HANDLER_TYPE_PROPERTY, m_instance, m_isValid |
| Constructor Summary | |
|---|---|
ProvidedServiceHandler()
|
|
| Method Summary | |
|---|---|
void |
configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configure the handler. |
org.apache.felix.ipojo.architecture.HandlerDescription |
getDescription()
|
java.util.List |
getInstanceType()
|
protected java.util.List |
getSpecifications()
Build the list of available specification. |
void |
initializeComponentFactory(org.apache.felix.ipojo.architecture.ComponentTypeDescription desc,
org.apache.felix.ipojo.metadata.Element metadata)
Initialize the component type. |
void |
invalidate(org.apache.felix.ipojo.util.DependencyModel exporter)
Notify the handler that an exporter becomes invalid. |
void |
start()
Start method. |
void |
stateChanged(int state)
Handler state changed. |
void |
stop()
Stop method. |
void |
validate(org.apache.felix.ipojo.util.DependencyModel exporter)
Notify the handler that an exporter becomes valid. |
| Methods inherited from class org.apache.felix.ipojo.composite.CompositeHandler |
|---|
attach, getCompositeManager, getHandler, getLogger, setFactory |
| Methods inherited from class org.apache.felix.ipojo.Handler |
|---|
error, error, getHandlerManager, getValidity, info, isValid, reconfigure, setValidity, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProvidedServiceHandler()
| Method Detail |
|---|
public void initializeComponentFactory(org.apache.felix.ipojo.architecture.ComponentTypeDescription desc,
org.apache.felix.ipojo.metadata.Element metadata)
throws org.apache.felix.ipojo.ConfigurationException
initializeComponentFactory in class org.apache.felix.ipojo.Handlerdesc - : component type description to populate.metadata - : component type metadata.
org.apache.felix.ipojo.ConfigurationException - : metadata are incorrect.Handler.initializeComponentFactory(org.apache.felix.ipojo.architecture.ComponentTypeDescription, org.apache.felix.ipojo.metadata.Element)
public void configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
throws org.apache.felix.ipojo.ConfigurationException
configure in class org.apache.felix.ipojo.Handlermetadata - : the metadata of the componentconfiguration - : the instance configuration
org.apache.felix.ipojo.ConfigurationException - : the exporter cannot be createdorg.apache.felix.ipojo.CompositeHandler#configure(org.apache.felix.ipojo.CompositeManager, org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)public void start()
start in class org.apache.felix.ipojo.Handlerorg.apache.felix.ipojo.CompositeHandler#start()public void stop()
stop in class org.apache.felix.ipojo.Handlerorg.apache.felix.ipojo.CompositeHandler#stop()public void stateChanged(int state)
stateChanged in class org.apache.felix.ipojo.Handlerstate - : the new instance state.org.apache.felix.ipojo.CompositeHandler#stateChanged(int)public void invalidate(org.apache.felix.ipojo.util.DependencyModel exporter)
invalidate in interface org.apache.felix.ipojo.util.DependencyStateListenerexporter - : the implicated exporter.public void validate(org.apache.felix.ipojo.util.DependencyModel exporter)
validate in interface org.apache.felix.ipojo.util.DependencyStateListenerexporter - : the implicated exporter.protected java.util.List getSpecifications()
public org.apache.felix.ipojo.architecture.HandlerDescription getDescription()
getDescription in class org.apache.felix.ipojo.Handlerpublic java.util.List getInstanceType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||