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


@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
public @interface Parameter

The parameter. We must distingush between @Value and @Parameter, since annotations don't allow cyclic dependencies. ValueFactory uses @Parameter to break the cycle.

Author:
Ales Justin

Optional Element Summary
 Inject inject
          Get inject value.
 JavaBeanValue javabean
          Get java bean value.
 NullValue nullValue
          Get null value.
 StringValue string
          Get the string value.
 ThisValue thisValue
          Get this value.
 Class<?> type
          Get they parameter type.
 

type

public abstract Class<?> type
Get they parameter type.

Returns:
the type
Default:
void.class

string

public abstract StringValue string
Get the string value.

Returns:
the string value
Default:
@org.jboss.beans.metadata.api.annotations.StringValue("")

inject

public abstract Inject inject
Get inject value.

Returns:
the inject value
Default:
@org.jboss.beans.metadata.api.annotations.Inject(valid=false)

thisValue

public abstract ThisValue thisValue
Get this value.

Returns:
this value
Default:
@org.jboss.beans.metadata.api.annotations.ThisValue(valid=false)

nullValue

public abstract NullValue nullValue
Get null value.

Returns:
null value
Default:
@org.jboss.beans.metadata.api.annotations.NullValue(valid=false)

javabean

public abstract JavaBeanValue javabean
Get java bean value.

Returns:
java bean value
Default:
@org.jboss.beans.metadata.api.annotations.JavaBeanValue


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