|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.xml.struct.InterceptorBinding
public class InterceptorBinding
This class represents the <interceptor-binding> element.
Field Summary | |
---|---|
private java.lang.String |
ejbName
Name of the EJB. |
private boolean |
excludeClassInterceptors
Exclude class interceptors for a method on a bean. |
private boolean |
excludeClassInterceptorsCalled
setExcludeClassInterceptors() called. |
private boolean |
excludeDefaultInterceptors
Exclude the default interceptors for this bean ? |
private boolean |
excludeDefaultInterceptorsCalled
setExcludeClassInterceptors() called. |
private java.util.List<java.lang.String> |
interceptorClassList
List of interceptor-class. |
private MethodDD |
method
Method on which apply the interceptors. |
static java.lang.String |
NAME
Name of this element. |
private java.util.List<java.lang.String> |
orderInterceptorClassList
Interceptor-order element. (which contains a list of interceptor-classList) |
Constructor Summary | |
---|---|
InterceptorBinding()
Default constructor. orderInterceptorClassList is null by default. |
Method Summary | |
---|---|
void |
addInterceptorClass(java.lang.String interceptorClassName)
Add the given interceptor to the list. |
void |
addOrderedInterceptorClass(java.lang.String interceptorClassName)
Add the given interceptor to the ordered list. |
java.lang.String |
getEjbName()
|
java.util.List<java.lang.String> |
getInterceptorClassList()
|
MethodDD |
getMethod()
|
java.util.List<java.lang.String> |
getOrderInterceptorClassList()
|
boolean |
isExcludeClassInterceptors()
|
boolean |
isExcludeClassInterceptorsCalled()
|
boolean |
isExcludeDefaultInterceptors()
|
boolean |
isExcludeDefaultInterceptorsCalled()
|
void |
setEjbName(java.lang.String ejbName)
Sets the name of this ejb (or wildcard). |
void |
setExcludeClassInterceptors(boolean excludeClassInterceptors)
Exclude or not class interceptors ? |
void |
setExcludeDefaultInterceptors(boolean excludeDefaultInterceptors)
Exclude or not default interceptors ? |
void |
setMethod(MethodDD method)
Method on which define the interceptors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
private java.lang.String ejbName
private java.util.List<java.lang.String> interceptorClassList
private java.util.List<java.lang.String> orderInterceptorClassList
private boolean excludeDefaultInterceptors
private boolean excludeClassInterceptors
private boolean excludeClassInterceptorsCalled
private boolean excludeDefaultInterceptorsCalled
private MethodDD method
Constructor Detail |
---|
public InterceptorBinding()
Method Detail |
---|
public java.lang.String getEjbName()
public void setEjbName(java.lang.String ejbName)
ejbName
- the name of the ejb.public MethodDD getMethod()
public void setMethod(MethodDD method)
method
- the given method.public boolean isExcludeClassInterceptors()
public void setExcludeClassInterceptors(boolean excludeClassInterceptors)
excludeClassInterceptors
- true/falsepublic boolean isExcludeClassInterceptorsCalled()
public boolean isExcludeDefaultInterceptors()
public void setExcludeDefaultInterceptors(boolean excludeDefaultInterceptors)
excludeDefaultInterceptors
- true/falsepublic boolean isExcludeDefaultInterceptorsCalled()
public java.util.List<java.lang.String> getInterceptorClassList()
public java.util.List<java.lang.String> getOrderInterceptorClassList()
public void addInterceptorClass(java.lang.String interceptorClassName)
interceptorClassName
- the name of the interceptor's classpublic void addOrderedInterceptorClass(java.lang.String interceptorClassName)
interceptorClassName
- the name of the interceptor's class
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |