|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.ipojo.architecture.ComponentTypeDescription
public class ComponentTypeDescription
Component Type description.
| Constructor Summary | |
|---|---|
ComponentTypeDescription(Factory factory)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addProperty(PropertyDescription pd)
Add a configuration properties to the component type. |
void |
addProperty(java.lang.String name,
java.lang.String value)
Add a String property in the component type. |
void |
addProperty(java.lang.String name,
java.lang.String value,
boolean immutable)
Add a String property in the component type. |
void |
addProvidedServiceSpecification(java.lang.String serviceSpecification)
Add a provided service to the component type. |
org.osgi.framework.BundleContext |
getBundleContext()
|
java.lang.String |
getClassName()
Get the implementation class of this component type. |
org.apache.felix.ipojo.metadata.Element |
getDescription()
Get the component type description. |
java.lang.String |
getName()
Return the component-type name. |
PropertyDescription[] |
getProperties()
Get component-type properties. |
java.util.Dictionary |
getPropertiesToPublish()
Compute the default service properties to publish : factory.name, service.pid, component.providedServiceSpecification, component.properties, component.description, factory.State. |
java.lang.String[] |
getprovidedServiceSpecification()
Get the list of provided service offered by instances of this type. |
java.lang.String |
toString()
Get a printable form of the current component type description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentTypeDescription(Factory factory)
factory - : represented factory.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getClassName()
public PropertyDescription[] getProperties()
public void addProperty(java.lang.String name,
java.lang.String value)
name - : property name.value - : property value.
public void addProperty(java.lang.String name,
java.lang.String value,
boolean immutable)
name - : property name.value - : property value.immutable - : the property is immutable.public void addProperty(PropertyDescription pd)
pd - : the property to addpublic java.lang.String[] getprovidedServiceSpecification()
public void addProvidedServiceSpecification(java.lang.String serviceSpecification)
serviceSpecification - : the provided service to add (interface name)public java.lang.String getName()
public java.util.Dictionary getPropertiesToPublish()
public org.apache.felix.ipojo.metadata.Element getDescription()
public org.osgi.framework.BundleContext getBundleContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||