org.jboss.beans.metadata.api.annotations
Annotation Type ValueFactory


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

The value factory.

Author:
Ales Justin

Required Element Summary
 String bean
          Get the bean.
 String method
          Get the method.
 
Optional Element Summary
 String defaultValue
          Get default value.
 String dependantState
          Get dependant state.
 String parameter
          Get single parameter.
 Parameter[] parameters
          Get parameters.
 String whenRequiredState
          Get when required state.
 

Element Detail

bean

public abstract String bean
Get the bean.

Returns:
the bean

method

public abstract String method
Get the method.

Returns:
the method

parameter

public abstract String parameter
Get single parameter.

Returns:
the single parameter
Default:
""

parameters

public abstract Parameter[] parameters
Get parameters.

Returns:
the parameters
Default:
{}

defaultValue

public abstract String defaultValue
Get default value.

Returns:
the default value
Default:
""

dependantState

public abstract String dependantState
Get dependant state.

Returns:
the dependant state
Default:
"Installed"

whenRequiredState

public abstract String whenRequiredState
Get when required state.

Returns:
the when required state
Default:
"Configured"


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