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: 1.1 $
Author:
Adrian Brock, Scott.Stark@jboss.org

Optional Element Summary
 String attachmentName
          The metadata attachment name for the ManagedObject
 ManagementComponent componentType
          The component type for MCs that are ManagedComponents
 Class<? extends ManagedPropertyConstraintsPopulatorFactory> constraintsFactory
          The constraints, allowed values populator factory
 String description
          A description for the managed object.
 Class<? extends Fields> fieldsFactory
          The class to use for the ManagedProperty Fields implementation
 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<? extends ManagedProperty> propertyFactory
          The class to use for the ManagedProperty implementation
 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

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:
ALL

operations

public abstract ManagementOperation[] operations
The exposed operations. If empty TODO:

Default:
{}

propertyFactory

public abstract Class<? extends ManagedProperty> propertyFactory
The class to use for the ManagedProperty implementation

Default:
org.jboss.managed.api.annotation.ManagementProperty.NULL_PROPERTY_FACTORY.class

fieldsFactory

public abstract Class<? extends Fields> fieldsFactory
The class to use for the ManagedProperty Fields implementation

Default:
org.jboss.managed.api.annotation.ManagementProperty.NULL_FIELDS_FACTORY.class

constraintsFactory

public abstract Class<? extends ManagedPropertyConstraintsPopulatorFactory> constraintsFactory
The constraints, allowed values populator factory

Default:
org.jboss.managed.api.annotation.ManagementProperty.NULL_CONSTRAINTS.class


Copyright © 2008 JBoss Inc.. All Rights Reserved.