|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.ControllerMethodConfiguration
public class ControllerMethodConfiguration
stores information regarding the execution of a specific Method in a
Controller.
| Nested Class Summary | |
|---|---|
protected static class |
ControllerMethodConfiguration.MemberInfo
collects information for members of request beans. |
| Constructor Summary | |
|---|---|
ControllerMethodConfiguration(Controller c,
java.lang.reflect.Method m)
creates a new ControllerMethodConfiguration for the given
Controller and Method. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
returns whether the given object is equal to this ControllerMethodConfiguration. |
Action |
getActionAnnotation()
|
Controller |
getController()
|
java.lang.reflect.Method |
getMethod()
|
java.lang.Object[] |
getMethodParameters(ServiceRequest request, Bundle bundle)
prepares the parameters for the method described by the ControllerMethodConfiguration. |
RequireToken |
getTokenAnnotation()
|
int |
hashCode()
returns the hash code for the ControllerMethodConfiguration,
which is based on the hash code of the method. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControllerMethodConfiguration(Controller c,
java.lang.reflect.Method m)
ControllerMethodConfiguration for the given
Controller and Method.
c - the controllerm - the method| Method Detail |
|---|
public final java.lang.reflect.Method getMethod()
public final Action getActionAnnotation()
public final java.lang.Object[] getMethodParameters(ServiceRequest request, Bundle bundle)
throws java.lang.IllegalArgumentException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
ControllerMethodConfiguration.
request - the current requestbundle - the current bundle
java.lang.IllegalArgumentException - on errors building the method parameters
java.lang.InstantiationException - on errors building the method parameters
java.lang.IllegalAccessException - on errors building the method parameters
java.lang.reflect.InvocationTargetException - on errors building the method parameterspublic final RequireToken getTokenAnnotation()
public final Controller getController()
public int hashCode()
ControllerMethodConfiguration,
which is based on the hash code of the method.
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
ControllerMethodConfiguration.
Two ControllerMethodConfigurations are considered equal, if they
belong to the same method.
equals in class java.lang.Objectobj - the object to check against
true, if and only if the given object is equal to this
ControllerMethodConfiguration. Otherwise false.Object.equals(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||