org.jboss.managed.api
Interface ManagedObject

All Superinterfaces:
ManagedCommon, Serializable
All Known Implementing Classes:
DelegateManagedObjectImpl, ManagedObjectImpl

public interface ManagedObject
extends ManagedCommon

ManagedObject is an interface for a manageable element. It consists of: - a name/name type for a registry/references - an attachment name to associate the ManagedObject with a deployment attachment - annotations from the metadata making up the ManagedObject - the attachment instance - the ManagedPropertys for the interface - the ManagedOperations for the interface

Version:
$Revision: 1.1 $
Author:
Adrian Brock, Scott.Stark@jboss.org

Method Summary
 Map<String,Annotation> getAnnotations()
          Get the annotations associated with the property
 Serializable getAttachment()
          Get the underlying object
 Object getComponentName()
          Get the runtime component name.
 
Methods inherited from interface org.jboss.managed.api.ManagedCommon
getAttachmentName, getName, getNameType, getOperations, getProperties, getProperty, getPropertyNames
 

Method Detail

getAttachment

Serializable getAttachment()
Get the underlying object

Returns:
the underlying object

getAnnotations

Map<String,Annotation> getAnnotations()
Get the annotations associated with the property

Returns:
the annotations associated with the property

getComponentName

Object getComponentName()
Get the runtime component name.

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


Copyright © 2008 JBoss Inc.. All Rights Reserved.