Home » geronimo-2.2-source-release » org.apache.geronimo.j2ee.deployment.annotation » [javadoc | source]
org.apache.geronimo.j2ee.deployment.annotation
public class: AnnotatedWebApp [javadoc | source]
java.lang.Object
   org.apache.geronimo.j2ee.deployment.annotation.AnnotatedWebApp

All Implemented Interfaces:
    AnnotatedApp

Wrapper class to encapsulate the WebAppType class with an interface that the various AnnotationHelpers can use

Remaining ToDo(s):

Field Summary
protected  List<EjbRefType> ambiguousEjbRefs     
Constructor:
 public AnnotatedWebApp(WebAppType webApp) 
    WebAppType-qualified constructor
    Parameters:
    webApp - WebAppType
Method from org.apache.geronimo.j2ee.deployment.annotation.AnnotatedWebApp Summary:
addNewEjbLocalRef,   addNewEjbRef,   addNewEnvEntry,   addNewMessageDestinationRef,   addNewPersistenceContextRef,   addNewPersistenceUnitRef,   addNewResourceEnvRef,   addNewResourceRef,   addNewServiceRef,   addPostConstruct,   addPreDestroy,   getAmbiguousEjbRefs,   getComponentType,   getEjbLocalRefArray,   getEjbRefArray,   getEnvEntryArray,   getMessageDestinationRefArray,   getPersistenceContextRefArray,   getPersistenceUnitRefArray,   getPostConstructArray,   getPreDestroyArray,   getResourceEnvRefArray,   getResourceRefArray,   getServiceRefArray,   getWebApp,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.j2ee.deployment.annotation.AnnotatedWebApp Detail:
 public EjbLocalRefType addNewEjbLocalRef() 
 public EjbRefType addNewEjbRef() 
 public EnvEntryType addNewEnvEntry() 
 public MessageDestinationRefType addNewMessageDestinationRef() 
 public PersistenceContextRefType addNewPersistenceContextRef() 
 public PersistenceUnitRefType addNewPersistenceUnitRef() 
 public ResourceEnvRefType addNewResourceEnvRef() 
 public ResourceRefType addNewResourceRef() 
 public ServiceRefType addNewServiceRef() 
 public LifecycleCallbackType addPostConstruct() 
 public LifecycleCallbackType addPreDestroy() 
 public List<EjbRefType> getAmbiguousEjbRefs() 
    ambiguousRefs getter

    There is no corresponding setter method. To add a new item to the list do:

       getAmbiguousEjbRefs().add(ejbRef);
    
 public String getComponentType() 
 public EjbLocalRefType[] getEjbLocalRefArray() 
    WebAppType methods used for the @EJB, @EJBs annotations
 public EjbRefType[] getEjbRefArray() 
 public EnvEntryType[] getEnvEntryArray() 
    WebAppType methods used for the @Resource, @Resources annotations
 public MessageDestinationRefType[] getMessageDestinationRefArray() 
 public PersistenceContextRefType[] getPersistenceContextRefArray() 
 public PersistenceUnitRefType[] getPersistenceUnitRefArray() 
 public LifecycleCallbackType[] getPostConstructArray() 
 public LifecycleCallbackType[] getPreDestroyArray() 
 public ResourceEnvRefType[] getResourceEnvRefArray() 
 public ResourceRefType[] getResourceRefArray() 
 public ServiceRefType[] getServiceRefArray() 
 public WebAppType getWebApp() 
    webApp getter
 public String toString() 
    webApp getter