|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.ipojo.architecture.InstanceDescription
public class InstanceDescription
Instance Description.
| Constructor Summary | |
|---|---|
InstanceDescription(java.lang.String name,
int state,
long bundleId,
ComponentTypeDescription desc)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addHandler(HandlerDescription desc)
Add an handler description to the list. |
void |
addInstance(InstanceDescription inst)
Add an instance description to the contained instance list. |
long |
getBundleId()
Get the bundle id of the bundle containing the described instance. |
ComponentTypeDescription |
getComponentDescription()
Get the component type description of the described instance. |
InstanceDescription[] |
getContainedInstances()
Get the list of contained instance in the describe instance. |
java.lang.String[] |
getCreatedObjects()
Get the list of object created by the described instance. |
org.apache.felix.ipojo.metadata.Element |
getDescription()
Get the instance description. |
HandlerDescription[] |
getHandlers()
Get the plugged handler list. |
java.lang.String |
getName()
Get the instance name. |
int |
getState()
Get the state of the described instance. |
void |
setCreatedObjects(java.lang.String[] objects)
Set the array of objects created by the described instance. |
void |
setState(int state)
Set the state of the component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceDescription(java.lang.String name,
int state,
long bundleId,
ComponentTypeDescription desc)
name - : the name of the component instance.state - : the state of the instance.bundleId - : bundle id owning this instance.desc - : the component type description of this instance.| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String[] getCreatedObjects()
public void setCreatedObjects(java.lang.String[] objects)
objects - : the list of create objects.public ComponentTypeDescription getComponentDescription()
public HandlerDescription[] getHandlers()
public void addHandler(HandlerDescription desc)
desc - : the handler description to addpublic void addInstance(InstanceDescription inst)
inst - : the handler description to addpublic void setState(int state)
state - : the statepublic int getState()
public long getBundleId()
public InstanceDescription[] getContainedInstances()
public org.apache.felix.ipojo.metadata.Element getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||