org.jboss.managed.api
Interface ManagedCommon

All Superinterfaces:
Serializable
All Known Subinterfaces:
ManagedComponent, ManagedObject, MutableManagedComponent, MutableManagedObject
All Known Implementing Classes:
DelegateManagedCommonImpl, DelegateManagedObjectImpl, ManagedComponentImpl, ManagedObjectImpl

public interface ManagedCommon
extends Serializable

ManagedCommon is used to hold common properties that both, server side and client side, object can see .

Version:
$Revision:$
Author:
Ales Justin, Scott.Stark@jboss.org

Method Summary
 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
 ManagedCommon getParent()
           
 Map<String,ManagedProperty> getProperties()
          Get the properties
 ManagedProperty getProperty(String name)
          Get a property
 Set<String> getPropertyNames()
          Get the property names
 

Method Detail

getAttachmentName

String getAttachmentName()
Get the attachment name

Returns:
the name
See Also:
ManagementObject#attachmentName}}

getName

String getName()
Get the external name by which the ManagedObject is known

Returns:
the name
See Also:
ManagementObject#name}}, ManagementObjectID#name}}

getNameType

String getNameType()
Get the external name type/qualifier.

Returns:
the name type
See Also:
ManagementObject#type}, ManagementObjectID#type}

getComponentName

Object getComponentName()
Get the runtime component name.

Returns:
name of runtime component if one exists, null if no component exists.
See Also:
ManagementRuntimeRef}

getPropertyNames

Set<String> getPropertyNames()
Get the property names

Returns:
the property names

getProperty

ManagedProperty getProperty(String name)
Get a property

Parameters:
name - the name
Returns:
the property

getProperties

Map<String,ManagedProperty> getProperties()
Get the properties

Returns:
the properties

getOperations

Set<ManagedOperation> getOperations()
Get the operations

Returns:
the operations

getParent

ManagedCommon getParent()
Returns:


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