public class ManagedComponentImpl extends DelegateManagedCommonImpl implements MutableManagedComponent, Serializable
| Constructor and Description |
|---|
ManagedComponentImpl(ComponentType type,
ManagedDeployment owner,
ManagedObject mo) |
ManagedComponentImpl(ComponentType type,
ManagedDeployment owner,
ManagedObject mo,
RunStateMapper stateMapper) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Annotation> |
getAnnotations()
Get the annotations associated with the managed component
NOTE: Clients should not use this method - it is intended for server-side use only.
|
ManagedDeployment |
getDeployment()
The deployment the component is associated with.
|
ManagedCommon |
getParent()
The components parent should be the defining managed object itself.
|
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
|
getAttachmentName, getComponentName, getDelegate, getName, getNameType, getOperations, getProperties, getProperty, getPropertyNames, setDelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttachmentName, getComponentName, getName, getNameType, getOperations, getProperties, getProperty, getPropertyNamespublic ManagedComponentImpl(ComponentType type, ManagedDeployment owner, ManagedObject mo)
public ManagedComponentImpl(ComponentType type, ManagedDeployment owner, ManagedObject mo, RunStateMapper stateMapper)
public Map<String,Annotation> getAnnotations()
ManagedComponentgetAnnotations in interface ManagedComponentpublic RunStateMapper getStateMapper()
public void setStateMapper(RunStateMapper stateMapper)
public RunState getRunState()
ManagedComponentgetRunState in interface ManagedComponentpublic void setRunState(RunState runState)
MutableManagedComponentsetRunState in interface MutableManagedComponentpublic void setOperations(Set<ManagedOperation> operations)
MutableManagedComponentsetOperations in interface MutableManagedComponentoperations - - the ManagedOperations for the ManagedObject.public void setProperties(Map<String,ManagedProperty> properties)
MutableManagedComponentsetProperties in interface MutableManagedComponentproperties - - the ManagedProperty mapping.public RunState updateRunState()
public boolean update()
update in interface ManagedComponentpublic ManagedCommon getParent()
getParent in interface ManagedCommongetParent in class DelegateManagedCommonImplpublic ManagedDeployment getDeployment()
ManagedComponentgetDeployment in interface ManagedComponentpublic ComponentType getType()
ManagedComponentgetType in interface ManagedComponentCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.