public class ProvidedService extends java.lang.Object implements DependencyStateListener
| Constructor and Description |
|---|
ProvidedService(ProvidedServiceHandler handler,
org.apache.felix.ipojo.metadata.Element element,
java.lang.String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected CompositeManager |
getManager() |
java.lang.String |
getSpecification() |
void |
invalidate(DependencyModel exporter)
The exporter becomes invalid.
|
boolean |
isRegistered() |
void |
register()
Register the exposed service.
|
void |
start()
Start method.
|
void |
stop()
Stop the provided service.
|
void |
unregister()
Unregister the exposed service.
|
void |
validate(DependencyModel exporter)
The exporter becomes valid.
|
public ProvidedService(ProvidedServiceHandler handler, org.apache.felix.ipojo.metadata.Element element, java.lang.String name)
handler - : the handler.element - : 'provides' element.name - : name of this provided service.public void start()
throws CompositionException
CompositionException - if a consistent mapping cannot be discovered.public void stop()
protected CompositeManager getManager()
public void validate(DependencyModel exporter)
validate in interface DependencyStateListenerexporter - : the exporterpublic void invalidate(DependencyModel exporter)
invalidate in interface DependencyStateListenerexporter - : the exporterpublic java.lang.String getSpecification()
public void unregister()
public void register()
public boolean isRegistered()
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.