com.opensymphony.xwork2.config.entities
Class InterceptorStackConfig

java.lang.Object
  extended by com.opensymphony.xwork2.util.location.Located
      extended by com.opensymphony.xwork2.config.entities.InterceptorStackConfig
All Implemented Interfaces:
Locatable, Serializable

public class InterceptorStackConfig
extends Located
implements Serializable

Configuration for InterceptorStack.

In the xml configuration file this is defined as the interceptor-stack tag.

Author:
Mike, Rainer Hermanns
See Also:
Serialized Form

Nested Class Summary
static class InterceptorStackConfig.Builder
          The builder for this object.
 
Field Summary
 
Fields inherited from class com.opensymphony.xwork2.util.location.Located
location
 
Constructor Summary
protected InterceptorStackConfig()
          Creates an InterceptorStackConfig object.
protected InterceptorStackConfig(InterceptorStackConfig orig)
          Creates an InterceptorStackConfig object with a particular name.
 
Method Summary
 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<InterceptorMapping> 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.
 
Methods inherited from class com.opensymphony.xwork2.util.location.Located
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorStackConfig

protected InterceptorStackConfig()
Creates an InterceptorStackConfig object.


InterceptorStackConfig

protected InterceptorStackConfig(InterceptorStackConfig orig)
Creates an InterceptorStackConfig object with a particular name.

Parameters:
name -
Method Detail

getInterceptors

public Collection<InterceptorMapping> getInterceptors()
Returns a Collection of InterceptorMapping objects.

Returns:

getName

public String getName()
Get the name of this interceptor stack configuration.

Returns:
String

equals

public boolean equals(Object o)
An InterceptorStackConfig object is equals with o only if

Overrides:
equals in class Object

hashCode

public int hashCode()
Generate hashcode based on InterceptorStackConfig's name and its InterceptorMappings.

Overrides:
hashCode in class Object


Copyright © 2009 OpenSymphony. All Rights Reserved.