org.opt4j.core.start
Annotation Type Constant


@Retention(value=RUNTIME)
public @interface Constant

The Constant is an annotation for injected constant values. It is defined by a String value and a Class namespace. The default namespace is Object.


Required Element Summary
 java.lang.String value
          Returns the value.
 
Optional Element Summary
 java.lang.Class<?> namespace
          Returns the namespace.
 

Element Detail

value

public abstract java.lang.String value
Returns the value.

Returns:
the value

namespace

public abstract java.lang.Class<?> namespace
Returns the namespace. The default namespace is Object.

Returns:
the namespace
Default:
java.lang.Object.class