|
||||||||||
| 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(java.lang.String[] serviceSpecification,
int state,
org.osgi.framework.ServiceReference ref)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addProperty(java.lang.String key,
java.lang.String value)
Add a property to the current provided service description. |
java.util.Properties |
getProperties()
Get the list of properties. |
org.osgi.framework.ServiceReference |
getServiceReference()
Get the service reference. |
java.lang.String[] |
getServiceSpecification()
Get the list of provided service specifications. |
int |
getState()
Get provided service state. |
void |
setProperty(java.util.Properties props)
Set the set of 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(java.lang.String[] serviceSpecification,
int state,
org.osgi.framework.ServiceReference ref)
serviceSpecification - : the provided contractstate - : state (UNREGITRED | REGISTRED)ref - : Service Registration (to obtain the reference), or null if
state is UNREGISTRED| Method Detail |
|---|
public java.lang.String[] getServiceSpecification()
public void addProperty(java.lang.String key,
java.lang.String value)
key - : the key of the propertyvalue - : the value of the propertypublic void setProperty(java.util.Properties props)
props - : the propertiespublic java.util.Properties getProperties()
public int getState()
public org.osgi.framework.ServiceReference getServiceReference()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||