jodd.madvoc
Class ActionConfig

java.lang.Object
  extended by jodd.madvoc.ActionConfig

public class ActionConfig
extends java.lang.Object

Action configuration and shared run-time data, used internally.


Field Summary
 java.lang.Class actionClass
           
 java.lang.reflect.Method actionClassMethod
           
protected  ActionConfigSet actionConfigSet
           
 java.lang.String actionMethod
           
 java.lang.String actionPath
           
 boolean initialized
           
 java.lang.Class<? extends ActionInterceptor>[] interceptorClasses
           
 ActionInterceptor[] interceptors
           
 
Constructor Summary
ActionConfig(java.lang.Class actionClass, java.lang.reflect.Method actionClassMethod, java.lang.Class<? extends ActionInterceptor>[] interceptors, java.lang.String actionPath, java.lang.String actionMethod)
           
 
Method Summary
 java.lang.Class getActionClass()
          Returns action class.
 java.lang.reflect.Method getActionClassMethod()
          Returns action class method.
 ActionConfigSet getActionConfigSet()
           
 java.lang.String getActionMethod()
          Returns action method.
 java.lang.String getActionPath()
          Returns action path.
 java.lang.String getActionString()
          Returns action string in form 'actionClass#actionMethod'.
 java.lang.Class<? extends ActionInterceptor>[] getInterceptorClasses()
          Returns interceptors classes.
 ActionInterceptor[] getInterceptors()
          Returns interceptor instances.
 void initialized()
          Marks configuration as initialized.
 boolean isInitialized()
          Returns true if class is initialized.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

actionClass

public final java.lang.Class actionClass

actionClassMethod

public final java.lang.reflect.Method actionClassMethod

actionPath

public final java.lang.String actionPath

actionMethod

public final java.lang.String actionMethod

interceptorClasses

public final java.lang.Class<? extends ActionInterceptor>[] interceptorClasses

actionConfigSet

protected ActionConfigSet actionConfigSet

initialized

public boolean initialized

interceptors

public ActionInterceptor[] interceptors
Constructor Detail

ActionConfig

public ActionConfig(java.lang.Class actionClass,
                    java.lang.reflect.Method actionClassMethod,
                    java.lang.Class<? extends ActionInterceptor>[] interceptors,
                    java.lang.String actionPath,
                    java.lang.String actionMethod)
Method Detail

getActionClass

public java.lang.Class getActionClass()
Returns action class.


getActionClassMethod

public java.lang.reflect.Method getActionClassMethod()
Returns action class method.


getActionPath

public java.lang.String getActionPath()
Returns action path.


getActionMethod

public java.lang.String getActionMethod()
Returns action method.


getInterceptorClasses

public java.lang.Class<? extends ActionInterceptor>[] getInterceptorClasses()
Returns interceptors classes.


isInitialized

public boolean isInitialized()
Returns true if class is initialized.


initialized

public void initialized()
Marks configuration as initialized.


getInterceptors

public ActionInterceptor[] getInterceptors()
Returns interceptor instances.


getActionConfigSet

public ActionConfigSet getActionConfigSet()

getActionString

public java.lang.String getActionString()
Returns action string in form 'actionClass#actionMethod'.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2011 Jodd Team