JBoss Managed Parent POM 2.1.1.SP2

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


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface RunStateProperty

An annotation one can use on a ManagedProperty to indicate that the property provides RunState value information. The metaValues, enumValues attributes can be used to pass information to the RunStateMapper class ctor. If both metaValues, enumValues are non-zero arrays, a ctor(String[] metaValues, String[] enumValues) is used to instantiate the RunStateMapper. Otherwise, the default ctor will be used.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org

Required Element Summary
 Class<? extends RunStateMapper> value
          The class to use for the RunStateMapper implementation
 
Optional Element Summary
 String[] enumValues
           
 String[] metaValues
          Optional meta value strings for the
 

Element Detail

value

public abstract Class<? extends RunStateMapper> value
The class to use for the RunStateMapper implementation

metaValues

public abstract String[] metaValues
Optional meta value strings for the

Default:
{}

enumValues

public abstract String[] enumValues
Default:
{}

JBoss Managed Parent POM 2.1.1.SP2

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