org.jboss.managed.plugins
Class DelegateManagedCommonImpl

java.lang.Object
  extended by org.jboss.managed.plugins.DelegateManagedCommonImpl
All Implemented Interfaces:
Serializable, ManagedCommon
Direct Known Subclasses:
ManagedComponentImpl

public class DelegateManagedCommonImpl
extends Object
implements ManagedCommon

Delegate managed common.

Version:
$Revision:$
Author:
ales.justin@jboss.org, Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
DelegateManagedCommonImpl(ManagedObject delegate)
           
 
Method Summary
 String getAttachmentName()
          Get the attachment name
 Object getComponentName()
          Get the runtime component name.
protected  ManagedObject getDelegate()
           
 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
 ManagedCommon getParent()
           
 Map<String,ManagedProperty> getProperties()
          Get the properties
 ManagedProperty getProperty(String name)
          Get a property
 Set<String> getPropertyNames()
          Get the property names
protected  void setDelegate(ManagedObject delegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateManagedCommonImpl

public DelegateManagedCommonImpl(ManagedObject delegate)
Method Detail

getAttachmentName

public String getAttachmentName()
Description copied from interface: ManagedCommon
Get the attachment name

Specified by:
getAttachmentName in interface ManagedCommon
Returns:
the name
See Also:
ManagementObject#attachmentName}}

getName

public String getName()
Description copied from interface: ManagedCommon
Get the external name by which the ManagedObject is known

Specified by:
getName in interface ManagedCommon
Returns:
the name
See Also:
ManagementObject#name}}, ManagementObjectID#name}}

getNameType

public String getNameType()
Description copied from interface: ManagedCommon
Get the external name type/qualifier.

Specified by:
getNameType in interface ManagedCommon
Returns:
the name type
See Also:
ManagementObject#type}, ManagementObjectID#type}

getComponentName

public Object getComponentName()
Description copied from interface: ManagedCommon
Get the runtime component name.

Specified by:
getComponentName in interface ManagedCommon
Returns:
name of runtime component if one exists, null if no component exists.
See Also:
ManagementRuntimeRef}

getOperations

public Set<ManagedOperation> getOperations()
Description copied from interface: ManagedCommon
Get the operations

Specified by:
getOperations in interface ManagedCommon
Returns:
the operations

getProperties

public Map<String,ManagedProperty> getProperties()
Description copied from interface: ManagedCommon
Get the properties

Specified by:
getProperties in interface ManagedCommon
Returns:
the properties

getProperty

public ManagedProperty getProperty(String name)
Description copied from interface: ManagedCommon
Get a property

Specified by:
getProperty in interface ManagedCommon
Parameters:
name - the name
Returns:
the property

getPropertyNames

public Set<String> getPropertyNames()
Description copied from interface: ManagedCommon
Get the property names

Specified by:
getPropertyNames in interface ManagedCommon
Returns:
the property names

getParent

public ManagedCommon getParent()
Specified by:
getParent in interface ManagedCommon
Returns:

getDelegate

protected ManagedObject getDelegate()

setDelegate

protected void setDelegate(ManagedObject delegate)


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.