|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.managed.plugins.DelegateManagedCommonImpl
org.jboss.managed.plugins.ManagedComponentImpl
public class ManagedComponentImpl
Managed component impl.
| Constructor Summary | |
|---|---|
ManagedComponentImpl(ComponentType type,
ManagedDeployment owner,
ManagedObject mo)
|
|
ManagedComponentImpl(ComponentType type,
ManagedDeployment owner,
ManagedObject mo,
RunStateMapper stateMapper)
|
|
| Method Summary | |
|---|---|
Map<String,Annotation> |
getAnnotations()
Get the annotations associated with the managed component |
ManagedDeployment |
getDeployment()
The deployment the component is associated with. |
RunState |
getRunState()
Get the component run state |
RunStateMapper |
getStateMapper()
|
ComponentType |
getType()
The component classification as a type/subtype. |
void |
setOperations(Set<ManagedOperation> operations)
Set the ManagedOperation associated with the ManagedObject. |
void |
setProperties(Map<String,ManagedProperty> properties)
Set the ManagedObject ManagedProperty mapping. |
void |
setRunState(RunState runState)
Set the component runtime state |
void |
setStateMapper(RunStateMapper stateMapper)
|
String |
toString()
|
boolean |
update()
Update the component statistic property values. |
RunState |
updateRunState()
Update the cached run state |
| Methods inherited from class org.jboss.managed.plugins.DelegateManagedCommonImpl |
|---|
getAttachmentName, getComponentName, getDelegate, getName, getNameType, getOperations, getParent, getProperties, getProperty, getPropertyNames, setDelegate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.managed.api.ManagedCommon |
|---|
getAttachmentName, getComponentName, getName, getNameType, getOperations, getParent, getProperties, getProperty, getPropertyNames |
| Constructor Detail |
|---|
public ManagedComponentImpl(ComponentType type,
ManagedDeployment owner,
ManagedObject mo)
public ManagedComponentImpl(ComponentType type,
ManagedDeployment owner,
ManagedObject mo,
RunStateMapper stateMapper)
| Method Detail |
|---|
public Map<String,Annotation> getAnnotations()
ManagedComponent
getAnnotations in interface ManagedComponentpublic RunStateMapper getStateMapper()
public void setStateMapper(RunStateMapper stateMapper)
public RunState getRunState()
ManagedComponent
getRunState in interface ManagedComponentpublic void setRunState(RunState runState)
MutableManagedComponent
setRunState in interface MutableManagedComponentpublic void setOperations(Set<ManagedOperation> operations)
MutableManagedComponent
setOperations in interface MutableManagedComponentoperations - - the ManagedOperations for the ManagedObject.public void setProperties(Map<String,ManagedProperty> properties)
MutableManagedComponent
setProperties in interface MutableManagedComponentproperties - - the ManagedProperty mapping.public RunState updateRunState()
public boolean update()
update in interface ManagedComponentpublic ManagedDeployment getDeployment()
ManagedComponent
getDeployment in interface ManagedComponentpublic ComponentType getType()
ManagedComponent
getType in interface ManagedComponentpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||