|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
ObjectEnum<ServiceInvocation.ServiceInvocationExtension>
se.jbee.inject.service.ServiceInvocation.ServiceInvocationExtension
public static enum ServiceInvocation.ServiceInvocationExtension
Used to hook up a ServiceInvocation to ServiceMethods.
When targeting is used for the extension it has to be chosen which of the 4 possible types
the targeting is applied to.
| Enum Constant Summary | |
|---|---|
DEFINING_TYPE
The Class defined the method that becomes the injected ServiceMethod. |
|
INJECTED_TYPE
The Class (whose method) is receiving the injected ServiceMethod. |
|
PARAMETER_TYPE
The Type of the ServiceMethod's parameter generic. |
|
RETURN_TYPE
The Type of the ServiceMethod's return type generic. |
|
| Method Summary | |
|---|---|
static ServiceInvocation.ServiceInvocationExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceInvocation.ServiceInvocationExtension[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ServiceInvocation.ServiceInvocationExtension DEFINING_TYPE
Class defined the method that becomes the injected ServiceMethod.
public static final ServiceInvocation.ServiceInvocationExtension INJECTED_TYPE
Class (whose method) is receiving the injected ServiceMethod.
public static final ServiceInvocation.ServiceInvocationExtension PARAMETER_TYPE
Type of the ServiceMethod's parameter generic.
public static final ServiceInvocation.ServiceInvocationExtension RETURN_TYPE
Type of the ServiceMethod's return type generic.
| Method Detail |
|---|
public static ServiceInvocation.ServiceInvocationExtension[] values()
for (ServiceInvocation.ServiceInvocationExtension c : ServiceInvocation.ServiceInvocationExtension.values()) System.out.println(c);
public static ServiceInvocation.ServiceInvocationExtension 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 null
|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||