|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.chwf.servlet.engine.MethodConfig
Class managing controller method configuration data.
Constructor Summary | |
MethodConfig(ControllerConfig controllerConfig,
java.lang.reflect.Method method)
Constructor. |
Method Summary | |
java.lang.Class |
getController()
The controller class. |
ControllerConfig |
getControllerConfig()
The controller config. |
java.lang.String |
getDefaultErrorPage()
The default error page for the method. |
java.lang.String |
getDefaultView()
The default view for the method. |
java.lang.reflect.Method |
getMethod()
The method. |
java.lang.Object[] |
getParameterDefaults()
Get the method parameter defaults. |
java.lang.String[] |
getParameterNames()
Get the method parameter names parameter names. |
java.lang.String[] |
getRoles()
Get the security roles for this controller method. |
boolean |
isInitializer()
Whether this method is an initializers (getter). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MethodConfig(ControllerConfig controllerConfig, java.lang.reflect.Method method)
controllerConfig
- The controller config.method
- The method.Method Detail |
public java.lang.Class getController()
public java.lang.reflect.Method getMethod()
public boolean isInitializer()
public java.lang.String[] getParameterNames() throws ControllerException
ControllerException
- If parameter are not properly configured.public java.lang.Object[] getParameterDefaults() throws ControllerException
ControllerException
- If default list is incorrect.public java.lang.String getDefaultView()
public java.lang.String getDefaultErrorPage()
public java.lang.String[] getRoles()
public ControllerConfig getControllerConfig()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |