|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectInterceptorConfig
public class InterceptorConfig
Class used to hold configuration information for an Interceptor
. Each
interceptor instance will have it's own configuration object which holds the
interceptor implementation class and a set of custom properties that can be provided
for each interceptor instance.
Constructor Summary | |
---|---|
protected |
InterceptorConfig()
Default constructor. |
protected |
InterceptorConfig(String interceptorClass)
Create this config object for an intereceptor with the given class name. |
Method Summary | |
---|---|
Map |
getCustomProperties()
Get the interceptor's custom properties. |
String |
getCustomProperty(String name)
Get the custom property value corresponding to the given property name. |
String |
getInterceptorClass()
Get the interceptor class. |
void |
setInterceptorClass(String interceptorClass)
Set the interceptor class. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected InterceptorConfig()
protected InterceptorConfig(String interceptorClass)
interceptorClass
- the Interceptor
's class nameMethod Detail |
---|
public String getInterceptorClass()
public void setInterceptorClass(String interceptorClass)
interceptorClass
- the String for the interceptor's classpublic Map getCustomProperties()
Map
contains pairs
of <String, String>.
public String getCustomProperty(String name)
name
- the name of the property
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |