|
||||||||||
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)
Adds a configuration properties to the component type. |
void |
addProperty(String name,
String value)
Adds a String property in the component type. |
void |
addProperty(String name,
String value,
boolean immutable)
Adds a String property in the component type. |
void |
addProvidedServiceSpecification(String serviceSpecification)
Adds a provided service to the component type. |
BundleContext |
getBundleContext()
|
String |
getClassName()
Deprecated. |
Element |
getDescription()
Gets the component type description. |
String[] |
getFactoryInterfacesToPublish()
Gets the interfaces published by the factory. |
String |
getName()
Returns the component-type name. |
PropertyDescription[] |
getProperties()
Gets component-type properties. |
Dictionary |
getPropertiesToPublish()
Computes the default service properties to publish : factory.name, service.pid, component.providedServiceSpecification, component.properties, component.description, factory.State. |
String[] |
getprovidedServiceSpecification()
Gets the list of provided service offered by instances of this type. |
String |
toString()
Gets 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 String toString()
toString
in class Object
Object.toString()
public String getClassName()
public PropertyDescription[] getProperties()
public void addProperty(String name, String value)
name
- : property name.value
- : property value.public void addProperty(String name, 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 String[] getprovidedServiceSpecification()
public void addProvidedServiceSpecification(String serviceSpecification)
serviceSpecification
- : the provided service to add (interface name)public String getName()
public Dictionary getPropertiesToPublish()
public String[] getFactoryInterfacesToPublish()
Factory
and ManagedServiceFactory
.
public Element getDescription()
public BundleContext getBundleContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |