|
||||||||||
| 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 ManagedObjectpublic Object getAttachment()
ManagedObject
getAttachment in interface ManagedObjectpublic String getAttachmentName()
ManagedCommon
getAttachmentName in interface ManagedCommonManagementObject#attachmentName}}public String getName()
ManagedCommon
getName in interface ManagedCommonManagementObject#name}},
ManagementObjectID#name}}public String getNameType()
ManagedCommon
getNameType in interface ManagedCommonManagementObject#type},
ManagementObjectID#type}public Set<ManagedOperation> getOperations()
ManagedCommon
getOperations in interface ManagedCommonpublic Map<String,ManagedProperty> getProperties()
ManagedCommon
getProperties in interface ManagedCommonpublic ManagedProperty getProperty(String name)
ManagedCommon
getProperty in interface ManagedCommonname - the name
public Set<String> getPropertyNames()
ManagedCommon
getPropertyNames in interface ManagedCommonpublic Object getComponentName()
ManagedCommon
getComponentName in interface ManagedCommonManagementRuntimeRef}public ManagedObject getParent()
ManagedObject
getParent in interface ManagedCommongetParent in interface ManagedObjectpublic <T> T getTransientAttachment(Class<T> expectedType)
ManagedObject
getTransientAttachment in interface ManagedObjectT - the expected typeexpectedType - the expected type
public Object getTransientAttachment(String name)
ManagedObject
getTransientAttachment in interface ManagedObjectname - the name
ManagedObject.setTransientAttachment(String, Object)
public void setTransientAttachment(String name,
Object attachment)
ManagedObject
setTransientAttachment in interface ManagedObjectname - the nameattachment - the attachment, pass null to remove an attachment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||