|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterceptorBindingType
A representation of the model object 'Interceptor Binding Type'.
The interceptor-bindingType element describes the binding of
interceptor classes to beans within the ejb-jar.
It consists of :
- An optional description.
- The name of an ejb within the ejb-jar or the wildcard value "*",
which is used to define interceptors that are bound to all
beans in the ejb-jar.
- A list of interceptor classes that are bound to the contents of
the ejb-name element or a specification of the total ordering
over the interceptors defined for the given level and above.
- An optional exclude-default-interceptors element. If set to true,
specifies that default interceptors are not to be applied to
a bean-class and/or business method.
- An optional exclude-class-interceptors element. If set to true,
specifies that class interceptors are not to be applied to
a business method.
- An optional set of method elements for describing the name/params
of a method-level interceptor.
Interceptors bound to all classes using the wildcard syntax
"*" are default interceptors for the components in the ejb-jar.
In addition, interceptors may be bound at the level of the bean
class (class-level interceptors) or business methods (method-level
interceptors ).
The binding of interceptors to classes is additive. If interceptors
are bound at the class-level and/or default-level as well as the
method-level, both class-level and/or default-level as well as
method-level will apply.
There are four possible styles of the interceptor element syntax :
1.
The following features are supported:
Description
Ejb Name
Interceptor Class
Interceptor Order
Exclude Default Interceptors
Exclude Class Interceptors
Method
Id
EjbJar30Package.getInterceptorBindingType()
Method Summary | |
---|---|
|
getDescription()
Returns the value of the 'Description' containment reference list. |
String |
getEjbName()
Returns the value of the 'Ejb Name' containment reference. |
TrueFalseType |
getExcludeClassInterceptors()
Returns the value of the 'Exclude Class Interceptors' containment reference. |
TrueFalseType |
getExcludeDefaultInterceptors()
Returns the value of the 'Exclude Default Interceptors' containment reference. |
java.lang.String |
getId()
Returns the value of the 'Id' attribute. |
|
getInterceptorClass()
Returns the value of the 'Interceptor Class' containment reference list. |
InterceptorOrderType |
getInterceptorOrder()
Returns the value of the 'Interceptor Order' containment reference. |
NamedMethodType |
getMethod()
Returns the value of the 'Method' containment reference. |
void |
setEjbName(String value)
Sets the value of the ' Ejb Name ' containment reference. |
void |
setExcludeClassInterceptors(TrueFalseType value)
Sets the value of the ' Exclude Class Interceptors ' containment reference. |
void |
setExcludeDefaultInterceptors(TrueFalseType value)
Sets the value of the ' Exclude Default Interceptors ' containment reference. |
void |
setId(java.lang.String value)
Sets the value of the ' Id ' attribute. |
void |
setInterceptorOrder(InterceptorOrderType value)
Sets the value of the ' Interceptor Order ' containment reference. |
void |
setMethod(NamedMethodType value)
Sets the value of the ' Method ' containment reference. |
Method Detail |
---|
getDescription()
DescriptionType
.
If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...
EjbJar30Package.getInterceptorBindingType_Description()
String getEjbName()
If the meaning of the 'Ejb Name' containment reference isn't clear, there really should be more of a description here...
setEjbName(org.eclipse.modisco.jee.ejbjar.EjbJar30.String)
,
EjbJar30Package.getInterceptorBindingType_EjbName()
void setEjbName(String value)
Ejb Name
' containment reference.
value
- the new value of the 'Ejb Name' containment reference.getEjbName()
getInterceptorClass()
FullyQualifiedClassType
.
If the meaning of the 'Interceptor Class' containment reference list isn't clear, there really should be more of a description here...
EjbJar30Package.getInterceptorBindingType_InterceptorClass()
InterceptorOrderType getInterceptorOrder()
If the meaning of the 'Interceptor Order' containment reference isn't clear, there really should be more of a description here...
setInterceptorOrder(InterceptorOrderType)
,
EjbJar30Package.getInterceptorBindingType_InterceptorOrder()
void setInterceptorOrder(InterceptorOrderType value)
Interceptor Order
' containment reference.
value
- the new value of the 'Interceptor Order' containment reference.getInterceptorOrder()
TrueFalseType getExcludeDefaultInterceptors()
If the meaning of the 'Exclude Default Interceptors' containment reference isn't clear, there really should be more of a description here...
setExcludeDefaultInterceptors(TrueFalseType)
,
EjbJar30Package.getInterceptorBindingType_ExcludeDefaultInterceptors()
void setExcludeDefaultInterceptors(TrueFalseType value)
Exclude Default Interceptors
' containment reference.
value
- the new value of the 'Exclude Default Interceptors' containment reference.getExcludeDefaultInterceptors()
TrueFalseType getExcludeClassInterceptors()
If the meaning of the 'Exclude Class Interceptors' containment reference isn't clear, there really should be more of a description here...
setExcludeClassInterceptors(TrueFalseType)
,
EjbJar30Package.getInterceptorBindingType_ExcludeClassInterceptors()
void setExcludeClassInterceptors(TrueFalseType value)
Exclude Class Interceptors
' containment reference.
value
- the new value of the 'Exclude Class Interceptors' containment reference.getExcludeClassInterceptors()
NamedMethodType getMethod()
If the meaning of the 'Method' containment reference isn't clear, there really should be more of a description here...
setMethod(NamedMethodType)
,
EjbJar30Package.getInterceptorBindingType_Method()
void setMethod(NamedMethodType value)
Method
' containment reference.
value
- the new value of the 'Method' containment reference.getMethod()
java.lang.String getId()
If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...
setId(String)
,
EjbJar30Package.getInterceptorBindingType_Id()
void setId(java.lang.String value)
Id
' attribute.
value
- the new value of the 'Id' attribute.getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |