org.apache.openejb.jee.jba
Class Bean

java.lang.Object
  extended by org.apache.openejb.jee.jba.Bean

public class Bean
extends Object


Field Summary
protected  List<Interceptor> interceptor
           
 
Constructor Summary
Bean()
           
 
Method Summary
 List<Interceptor> getInterceptor()
          Gets the value of the interceptor property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interceptor

protected List<Interceptor> interceptor
Constructor Detail

Bean

public Bean()
Method Detail

getInterceptor

public List<Interceptor> getInterceptor()
Gets the value of the interceptor property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the interceptor property.

For example, to add a new item, do as follows:

    getInterceptor().add(newItem);
 

Objects of the following type(s) are allowed in the list Interceptor



Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.