|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.api.composite.Instance
public class Instance
Allows defining a contained instance. A contained instance is like an instance declaration but the instance is created in the composite.
Constructor Summary | |
---|---|
Instance(java.lang.String type)
Creates a Instance. |
Method Summary | |
---|---|
Instance |
addProperty(java.lang.String name,
java.util.Dictionary values)
Adds a dictionary property. |
Instance |
addProperty(java.lang.String name,
java.util.List values)
Adds a list property. |
Instance |
addProperty(java.lang.String name,
java.util.Map values)
Adds a map property. |
Instance |
addProperty(java.lang.String name,
java.lang.String value)
Adds the string property. |
Instance |
addProperty(java.lang.String name,
java.lang.String[] values)
Adds an array property. |
Instance |
addProperty(java.lang.String name,
java.util.Vector values)
Adds a vector property. |
org.apache.felix.ipojo.metadata.Element |
getElement()
Gets the instance description in the Element-Attribute form. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Instance(java.lang.String type)
type
- the targeted type.Method Detail |
---|
public Instance addProperty(java.lang.String name, java.lang.String value)
name
- property namevalue
- property value
public Instance addProperty(java.lang.String name, java.util.List values)
name
- property namevalues
- the list
public Instance addProperty(java.lang.String name, java.lang.String[] values)
name
- the property namevalues
- the array
public Instance addProperty(java.lang.String name, java.util.Vector values)
name
- the property namevalues
- the vector
public Instance addProperty(java.lang.String name, java.util.Map values)
name
- the property namevalues
- the map
public Instance addProperty(java.lang.String name, java.util.Dictionary values)
name
- the property namevalues
- the dictionary
public org.apache.felix.ipojo.metadata.Element getElement()
getElement
in interface HandlerConfiguration
HandlerConfiguration.getElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |