|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.handlers.providedservice.ProvidedServiceDescription
public class ProvidedServiceDescription
Provided Service Description.
Field Summary | |
---|---|
static int |
REGISTERED
State : the service is registered. |
static int |
UNREGISTERED
State : the service is unregistered. |
Constructor Summary | |
---|---|
ProvidedServiceDescription(ProvidedService ps)
Constructor. |
Method Summary | |
---|---|
void |
addProperties(Dictionary props)
Adds and Updates service properties. |
String |
getController()
Gets the controller value as a String. |
String |
getController(String specification)
Gets the controller value as a String. |
Properties |
getProperties()
Gets the list of properties. |
Object |
getService()
Gets the 'main' service object. |
ServiceReference |
getServiceReference()
Gets the service reference. |
Object[] |
getServices()
|
String[] |
getServiceSpecifications()
Gets the list of provided service specifications. |
int |
getState()
Gets provided service state. |
void |
removeProperties(Dictionary props)
Removes service properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNREGISTERED
public static final int REGISTERED
Constructor Detail |
---|
public ProvidedServiceDescription(ProvidedService ps)
ps
- the described provided service.Method Detail |
---|
public String[] getServiceSpecifications()
public Properties getProperties()
public void addProperties(Dictionary props)
props
- the new propertiespublic void removeProperties(Dictionary props)
props
- the properties to removepublic int getState()
public String getController()
public String getController(String specification)
specification
-
public ServiceReference getServiceReference()
public Object getService()
null
if no service object are created.public Object[] getServices()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |