|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.managed.plugins.ManagedObjectImpl
public class ManagedObjectImpl
ManagedObjectImpl.
| Constructor Summary | |
|---|---|
ManagedObjectImpl(String name)
Create a new ManagedObjectImpl |
|
ManagedObjectImpl(String name,
Set<ManagedProperty> properties)
Create a new ManagedObjectImpl |
|
ManagedObjectImpl(String name,
Set<ManagedProperty> properties,
HashSet<ManagedOperation> operations)
Create a new ManagedObjectImpl |
|
ManagedObjectImpl(String name,
String nameType,
String attachmentName,
Map<String,ManagedProperty> properties,
HashSet<ManagedOperation> operations,
Serializable attachment)
Create a new ManagedObjectImpl |
|
ManagedObjectImpl(String name,
String nameType,
String attachmentName,
Set<ManagedProperty> properties,
HashSet<ManagedOperation> operations,
Serializable attachment)
Create a new ManagedObjectImpl |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Map<String,Annotation> |
getAnnotations()
Get the annotations associated with the property |
Serializable |
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 ManagedOperations |
Map<String,ManagedProperty> |
getProperties()
Get the properties |
ManagedProperty |
getProperty(String name)
Get a property |
Set<String> |
getPropertyNames()
Get the property names |
int |
hashCode()
|
void |
setAnnotations(Map<String,Annotation> annotations)
|
void |
setAttachment(Serializable attachment)
Set the attachment. |
void |
setAttachmentName(String attachmentName)
|
void |
setComponentName(Object name)
|
void |
setName(String name)
|
void |
setNameType(String nameType)
|
void |
setOperations(Set<ManagedOperation> operations)
|
void |
setProperties(Map<String,ManagedProperty> properties)
|
String |
toString()
|
protected void |
toString(StringBuilder sb)
Append the name and props |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ManagedObjectImpl(String name)
name - - The object name used for ManagementRef resolution
public ManagedObjectImpl(String name,
Set<ManagedProperty> properties)
name - - The object name used for ManagementRef resolutionproperties - the properties
public ManagedObjectImpl(String name,
Set<ManagedProperty> properties,
HashSet<ManagedOperation> operations)
name - - The object name used for ManagementRef resolutionproperties - the propertiesoperations - the operations
public ManagedObjectImpl(String name,
String nameType,
String attachmentName,
Set<ManagedProperty> properties,
HashSet<ManagedOperation> operations,
Serializable attachment)
name - - The object name used for ManagementRef resolutionnameType - - The name type/qualifier used for ManagementRef resolutionattachmentName - the attachment nameproperties - the propertiesoperations - the operationsattachment - the attachment
public ManagedObjectImpl(String name,
String nameType,
String attachmentName,
Map<String,ManagedProperty> properties,
HashSet<ManagedOperation> operations,
Serializable attachment)
name - - The object name used for ManagementRef resolutionnameType - - The name type/qualifier used for ManagementRef resolutionattachmentName - the attachment nameproperties - the propertiesoperations - the operationsattachment - the attachment| Method Detail |
|---|
public String getName()
ManagedCommon
getName in interface ManagedCommonManagementObject#name}},
ManagementObjectID#name}}public void setName(String name)
public String getNameType()
ManagedCommon
getNameType in interface ManagedCommonManagementObject#type},
ManagementObjectID#type}public void setNameType(String nameType)
public String getAttachmentName()
ManagedCommon
getAttachmentName in interface ManagedCommonManagementObject#attachmentName}}public void setAttachmentName(String attachmentName)
public Map<String,Annotation> getAnnotations()
getAnnotations in interface ManagedObjectpublic void setAnnotations(Map<String,Annotation> annotations)
public Set<String> getPropertyNames()
ManagedCommon
getPropertyNames in interface ManagedCommonpublic ManagedProperty getProperty(String name)
ManagedCommon
getProperty in interface ManagedCommonname - the name
public Map<String,ManagedProperty> getProperties()
ManagedCommon
getProperties in interface ManagedCommonpublic void setProperties(Map<String,ManagedProperty> properties)
public Serializable getAttachment()
ManagedObject
getAttachment in interface ManagedObjectpublic void setAttachment(Serializable attachment)
attachment - the attachment.public Set<ManagedOperation> getOperations()
getOperations in interface ManagedCommonpublic void setOperations(Set<ManagedOperation> operations)
public Object getComponentName()
ManagedObject
getComponentName in interface ManagedObjectManagementRuntimeRef}public void setComponentName(Object name)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected void toString(StringBuilder sb)
sb - the buffer to append the name and props to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||