com.opensymphony.xwork.config.entities
Class InterceptorConfig

java.lang.Object
  extended bycom.opensymphony.xwork.util.location.Located
      extended bycom.opensymphony.xwork.config.entities.InterceptorConfig
All Implemented Interfaces:
Locatable, Parameterizable, Serializable

public class InterceptorConfig
extends Located
implements Parameterizable, Serializable

Configuration for Interceptors.

In the xml configuration file this is defined as the interceptors tag.

Author:
Mike
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork.util.location.Located
location
 
Constructor Summary
InterceptorConfig()
           
InterceptorConfig(String name, Class clazz, Map params)
           
InterceptorConfig(String name, String className, Map params)
           
 
Method Summary
 void addParam(String name, Object value)
           
 boolean equals(Object o)
           
 String getClassName()
           
 String getName()
           
 Map getParams()
           
 int hashCode()
           
 void setClassName(String className)
           
 void setName(String name)
           
 void setParams(Map params)
           
 
Methods inherited from class com.opensymphony.xwork.util.location.Located
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorConfig

public InterceptorConfig()

InterceptorConfig

public InterceptorConfig(String name,
                         Class clazz,
                         Map params)

InterceptorConfig

public InterceptorConfig(String name,
                         String className,
                         Map params)
Method Detail

setClassName

public void setClassName(String className)

getClassName

public String getClassName()

setName

public void setName(String name)

getName

public String getName()

setParams

public void setParams(Map params)
Specified by:
setParams in interface Parameterizable

getParams

public Map getParams()
Specified by:
getParams in interface Parameterizable

addParam

public void addParam(String name,
                     Object value)
Specified by:
addParam in interface Parameterizable

equals

public boolean equals(Object o)

hashCode

public int hashCode()

XWork Project Page