|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.util.location.Located
com.opensymphony.xwork.config.entities.InterceptorStackConfig
public class InterceptorStackConfig
Configuration for InterceptorStack.
In the xml configuration file this is defined as theinterceptor-stack tag.
| Field Summary |
|---|
| Fields inherited from class com.opensymphony.xwork.util.location.Located |
|---|
location |
| Constructor Summary | |
|---|---|
InterceptorStackConfig()
Creates an InterceptorStackConfig object. |
|
InterceptorStackConfig(String name)
Creates an InterceptorStackConfig object with a particular name. |
|
| Method Summary | |
|---|---|
void |
addInterceptor(InterceptorMapping interceptor)
Add an InterceptorMapping object. |
void |
addInterceptors(List interceptors)
Add a List of InterceptorMapping objects. |
boolean |
equals(Object o)
An InterceptorStackConfig object is equals with o only if
o is an InterceptorStackConfig object
both names are equals
all of their InterceptorMappings are equals
|
Collection |
getInterceptors()
Returns a Collection of InterceptorMapping objects. |
String |
getName()
Get the name of this interceptor stack configuration. |
int |
hashCode()
Generate hashcode based on InterceptorStackConfig's name and its
InterceptorMappings. |
void |
setName(String name)
Set the name of this interceptor stack configuration. |
| 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 |
|---|
public InterceptorStackConfig()
public InterceptorStackConfig(String name)
name.
name - | Method Detail |
|---|
public Collection getInterceptors()
Collection of InterceptorMapping objects.
public void setName(String name)
name - public String getName()
public void addInterceptor(InterceptorMapping interceptor)
InterceptorMapping object.
addInterceptor in interface InterceptorListHolderpublic void addInterceptors(List interceptors)
InterceptorMapping objects.
addInterceptors in interface InterceptorListHolderpublic boolean equals(Object o)
o only if
InterceptorMappings are equals
equals in class Objectpublic int hashCode()
InterceptorStackConfig's name and its
InterceptorMappings.
hashCode in class Object
|
WebWork Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||