org.baswell.easybeans
Annotation Type P


@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface P

Metadata for a MBean constructor or operation parameter. Consider using EasyBeanConstructor.parameterNames() or EasyBeanOperation.parameterNames() for better readability. This annotation takes precedence over parameter values in EasyBeanConstructor or EasyBeanOperation.


Optional Element Summary
 java.lang.String[] defaultValue
          The default value for this parameter.
 java.lang.String description
          The description of this parameter.
 EasyBeanDescriptor[] descriptor
           
 java.lang.String value
          The name of this parameter.
 

value

public abstract java.lang.String value
The name of this parameter.

Default:
""

description

public abstract java.lang.String description
The description of this parameter.

Default:
""

defaultValue

public abstract java.lang.String[] defaultValue
The default value for this parameter. Only the first element of the array will be used (can't specify null with annotations).

Default:
{}

descriptor

public abstract EasyBeanDescriptor[] descriptor
See Also:
MBeanFeatureInfo.getDescriptor()
Default:
{}