org.jboss.managed.api.annotation
Annotation Type ManagementObject


@Inherited
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ManagementObject

ManagementObject annotation for describing ManagedObjects. ManagedObject

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

Optional Element Summary
 String attachmentName
          The metadata attachment name for the ManagedObject
 ManagementProperty[] classProperties
          A class level specification of the management properties.
 ManagementComponent componentType
          The component type for MCs that are ManagedComponents
 String description
          A description for the managed object.
 boolean isRuntime
          Is this a runtime extension of another ManagedObject.
 String name
          The name used for ManagementObjectRef resolution.
 ManagementOperation[] operations
          The exposed operations.
 ManagementProperties properties
          What properties to include
 Class<?> targetInterface
          An interface to use for reflection when determining properties/operations of the managed object.
 String type
          The name type used for ManagementObjectRef resolution.
 

name

public abstract String name
The name used for ManagementObjectRef resolution. Generally this is taken from a property annotated with ManagementObjectID.

Default:
"%Generated%"

description

public abstract String description
A description for the managed object.

Default:
"%Generated%"

type

public abstract String type
The name type used for ManagementObjectRef resolution. Generally this is taken from a property annotated with ManagementObjectID.

Default:
""

attachmentName

public abstract String attachmentName
The metadata attachment name for the ManagedObject

Default:
""

isRuntime

public abstract boolean isRuntime
Is this a runtime extension of another ManagedObject. This is used to tie together runtime components with metadata

Default:
false

componentType

public abstract ManagementComponent componentType
The component type for MCs that are ManagedComponents

Default:
@org.jboss.managed.api.annotation.ManagementComponent(type="", subtype="")

properties

public abstract ManagementProperties properties
What properties to include

Default:
org.jboss.managed.api.annotation.ManagementProperties.ALL

classProperties

public abstract ManagementProperty[] classProperties
A class level specification of the management properties. Depending on the properties() value, this can either override or augment the ManagementProperty annotations found on the bean fields/methods.

Returns:
Default:
{}

operations

public abstract ManagementOperation[] operations
The exposed operations. If empty the operations will be obtained from the annotated bean in a bean type specific way.

Default:
{}

targetInterface

public abstract Class<?> targetInterface
An interface to use for reflection when determining properties/operations of the managed object.

Default:
java.lang.Object.class


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