|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AutowireType>
org.jboss.beans.metadata.api.model.AutowireType
public enum AutowireType
Autowire type: * ByClass - matching the class type of value (default) * ByName - matching the property name * Constructor - matching the constructor args * Auto - matching constructor or by type * None - do not autowire
Enum Constant Summary | |
---|---|
AUTO
|
|
BY_CLASS
|
|
BY_NAME
|
|
CONSTRUCTOR
|
|
NONE
|
Method Summary | |
---|---|
static AutowireType |
getInstance(String typeString)
Return injection type. |
String |
getTypeString()
Get the state string |
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
static AutowireType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AutowireType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AutowireType NONE
public static final AutowireType BY_CLASS
public static final AutowireType BY_NAME
public static final AutowireType CONSTRUCTOR
public static final AutowireType AUTO
Method Detail |
---|
public static AutowireType[] values()
for (AutowireType c : AutowireType.values()) System.out.println(c);
public static AutowireType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static AutowireType getInstance(String typeString)
typeString
- type
public String getTypeString()
public void toString(org.jboss.util.JBossStringBuilder buffer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |