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


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ManagementProperty

ManagementProperty annotation for describing a ManagedProperty

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

Optional Element Summary
 Class<? extends ManagedPropertyConstraintsPopulatorFactory> constraintsFactory
          The constraints, allowed values populator factory
 String description
          The description
 Class<? extends Fields> fieldsFactory
          The class to use for the ManagedProperty Fields implementation
 boolean ignored
          Whether to ignore this property
 boolean includeInTemplate
          Whether this property should be included in a deployment template
 boolean managed
          Whether to create a managed object for the property
 boolean mandatory
          Whether this property is mandatory
 String mappedName
          The internal name of the property as it relates to metadata
 Class<? extends InstanceClassFactory<? extends Serializable>> marshallerFactory
          The constraints, allowed values populator factory
 String name
          The external name of the property.
 Class<? extends ManagedProperty> propertyFactory
          The class to use for the ManagedProperty implementation
 ViewUse[] use
          The views this property should be used in
 

description

public abstract String description
The description

Default:
"%Generated%"

name

public abstract String name
The external name of the property. If undefined its taken from the property the annotation is on.

Default:
""

mappedName

public abstract String mappedName
The internal name of the property as it relates to metadata

Default:
""

mandatory

public abstract boolean mandatory
Whether this property is mandatory

Default:
false

managed

public abstract boolean managed
Whether to create a managed object for the property

Default:
false

ignored

public abstract boolean ignored
Whether to ignore this property

Default:
false

includeInTemplate

public abstract boolean includeInTemplate
Whether this property should be included in a deployment template

Default:
false

use

public abstract ViewUse[] use
The views this property should be used in

Default:
CONFIGURATION

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

marshallerFactory

public abstract Class<? extends InstanceClassFactory<? extends Serializable>> marshallerFactory
The constraints, allowed values populator factory

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


Copyright © 2008 JBoss Inc.. All Rights Reserved.