org.apache.openejb.jee
Class InterceptorBinding

java.lang.Object
  extended by org.apache.openejb.jee.InterceptorBinding

public class InterceptorBinding
extends Object

ejb-jar_3_1.xsd

Java class for interceptor-bindingType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="interceptor-bindingType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}string"/>
         <choice>
           <element name="interceptor-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" maxOccurs="unbounded" minOccurs="0"/>
           <element name="interceptor-order" type="{http://java.sun.com/xml/ns/javaee}interceptor-orderType"/>
         </choice>
         <element name="exclude-default-interceptors" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
         <element name="exclude-class-interceptors" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
         <element name="method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String className
           
protected  TextMap description
           
protected  String ejbName
           
protected  boolean excludeClassInterceptors
           
protected  boolean excludeDefaultInterceptors
           
protected  String id
           
protected  List<String> interceptorClass
           
protected  InterceptorOrder interceptorOrder
           
protected  NamedMethod method
           
 
Constructor Summary
InterceptorBinding()
           
InterceptorBinding(EnterpriseBean bean, Interceptor... interceptors)
           
InterceptorBinding(String ejbName)
           
InterceptorBinding(String ejbName, Interceptor... interceptors)
           
InterceptorBinding(String ejbName, String... interceptorClasses)
           
 
Method Summary
 String getClassName()
           
 String getDescription()
           
 Text[] getDescriptions()
           
 String getEjbName()
           
 boolean getExcludeClassInterceptors()
           
 boolean getExcludeDefaultInterceptors()
           
 String getId()
           
 List<String> getInterceptorClass()
           
 InterceptorOrder getInterceptorOrder()
           
 NamedMethod getMethod()
           
 void setDescriptions(Text[] text)
           
 void setEjbName(String value)
           
 void setExcludeClassInterceptors(boolean value)
           
 void setExcludeDefaultInterceptors(boolean value)
           
 void setId(String value)
           
 InterceptorOrder setInterceptorOrder(InterceptorOrder value)
           
 void setMethod(NamedMethod value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected TextMap description

ejbName

protected String ejbName

interceptorClass

protected List<String> interceptorClass

interceptorOrder

protected InterceptorOrder interceptorOrder

excludeDefaultInterceptors

protected boolean excludeDefaultInterceptors

excludeClassInterceptors

protected boolean excludeClassInterceptors

method

protected NamedMethod method

id

protected String id

className

protected String className
Constructor Detail

InterceptorBinding

public InterceptorBinding()

InterceptorBinding

public InterceptorBinding(EnterpriseBean bean,
                          Interceptor... interceptors)

InterceptorBinding

public InterceptorBinding(String ejbName,
                          Interceptor... interceptors)

InterceptorBinding

public InterceptorBinding(String ejbName,
                          String... interceptorClasses)

InterceptorBinding

public InterceptorBinding(String ejbName)
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getEjbName

public String getEjbName()

setEjbName

public void setEjbName(String value)

getInterceptorClass

public List<String> getInterceptorClass()

getInterceptorOrder

public InterceptorOrder getInterceptorOrder()

setInterceptorOrder

public InterceptorOrder setInterceptorOrder(InterceptorOrder value)

getExcludeDefaultInterceptors

public boolean getExcludeDefaultInterceptors()

setExcludeDefaultInterceptors

public void setExcludeDefaultInterceptors(boolean value)

getExcludeClassInterceptors

public boolean getExcludeClassInterceptors()

setExcludeClassInterceptors

public void setExcludeClassInterceptors(boolean value)

getMethod

public NamedMethod getMethod()

setMethod

public void setMethod(NamedMethod value)

getId

public String getId()

setId

public void setId(String value)

getClassName

public String getClassName()


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.