|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.managed.plugins.DelegateManagedObjectImpl
public class DelegateManagedObjectImpl
A delegating
Constructor Summary | |
---|---|
DelegateManagedObjectImpl(ManagedObject delegate)
|
Method Summary | ||
---|---|---|
Map<String,Annotation> |
getAnnotations()
Get the annotations associated with the managed object |
|
Object |
getAttachment()
Get the underlying object. |
|
String |
getAttachmentName()
Get the attachment name |
|
Object |
getComponentName()
Get the runtime component name. |
|
String |
getName()
Get the external name by which the ManagedObject is known |
|
String |
getNameType()
Get the external name type/qualifier. |
|
Set<ManagedOperation> |
getOperations()
Get the operations |
|
ManagedObject |
getParent()
Get the parent ManagedObject |
|
Map<String,ManagedProperty> |
getProperties()
Get the properties |
|
ManagedProperty |
getProperty(String name)
Get a property |
|
Set<String> |
getPropertyNames()
Get the property names |
|
|
getTransientAttachment(Class<T> expectedType)
Get an attachment from the property, uses the expected type as both the name and to cast the resulting object. |
|
Object |
getTransientAttachment(String name)
Get a transient attachment from the property. |
|
void |
setTransientAttachment(String name,
Object attachment)
Set a transient attachment against the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegateManagedObjectImpl(ManagedObject delegate)
Method Detail |
---|
public Map<String,Annotation> getAnnotations()
ManagedObject
getAnnotations
in interface ManagedObject
public Object getAttachment()
ManagedObject
getAttachment
in interface ManagedObject
public String getAttachmentName()
ManagedCommon
getAttachmentName
in interface ManagedCommon
ManagementObject#attachmentName}}
public String getName()
ManagedCommon
getName
in interface ManagedCommon
ManagementObject#name}}
,
ManagementObjectID#name}}
public String getNameType()
ManagedCommon
getNameType
in interface ManagedCommon
ManagementObject#type}
,
ManagementObjectID#type}
public Set<ManagedOperation> getOperations()
ManagedCommon
getOperations
in interface ManagedCommon
public Map<String,ManagedProperty> getProperties()
ManagedCommon
getProperties
in interface ManagedCommon
public ManagedProperty getProperty(String name)
ManagedCommon
getProperty
in interface ManagedCommon
name
- the name
public Set<String> getPropertyNames()
ManagedCommon
getPropertyNames
in interface ManagedCommon
public Object getComponentName()
ManagedCommon
getComponentName
in interface ManagedCommon
ManagementRuntimeRef}
public ManagedObject getParent()
ManagedObject
getParent
in interface ManagedCommon
getParent
in interface ManagedObject
public <T> T getTransientAttachment(Class<T> expectedType)
ManagedObject
getTransientAttachment
in interface ManagedObject
T
- the expected typeexpectedType
- the expected type
public Object getTransientAttachment(String name)
ManagedObject
getTransientAttachment
in interface ManagedObject
name
- the name
ManagedObject.setTransientAttachment(String, Object)
public void setTransientAttachment(String name, Object attachment)
ManagedObject
setTransientAttachment
in interface ManagedObject
name
- the nameattachment
- the attachment, pass null to remove an attachment
|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |