org.apache.geronimo.j2ee.deployment.annotation
Class AnnotatedEjbJar.SessionBean

java.lang.Object
  extended by org.apache.geronimo.j2ee.deployment.annotation.AnnotatedEjbJar.SessionBean
All Implemented Interfaces:
AnnotatedApp
Enclosing class:
AnnotatedEjbJar

public static class AnnotatedEjbJar.SessionBean
extends Object
implements AnnotatedApp


Constructor Summary
AnnotatedEjbJar.SessionBean(org.apache.geronimo.xbeans.javaee.SessionBeanType bean)
           
 
Method Summary
 org.apache.geronimo.xbeans.javaee.EjbLocalRefType addNewEjbLocalRef()
           
 org.apache.geronimo.xbeans.javaee.EjbRefType addNewEjbRef()
           
 org.apache.geronimo.xbeans.javaee.EnvEntryType addNewEnvEntry()
           
 org.apache.geronimo.xbeans.javaee.MessageDestinationRefType addNewMessageDestinationRef()
           
 org.apache.geronimo.xbeans.javaee.PersistenceContextRefType addNewPersistenceContextRef()
           
 org.apache.geronimo.xbeans.javaee.PersistenceUnitRefType addNewPersistenceUnitRef()
           
 org.apache.geronimo.xbeans.javaee.ResourceEnvRefType addNewResourceEnvRef()
           
 org.apache.geronimo.xbeans.javaee.ResourceRefType addNewResourceRef()
           
 org.apache.geronimo.xbeans.javaee.ServiceRefType addNewServiceRef()
           
 org.apache.geronimo.xbeans.javaee.LifecycleCallbackType addPostConstruct()
           
 org.apache.geronimo.xbeans.javaee.LifecycleCallbackType addPreDestroy()
           
 List<org.apache.geronimo.xbeans.javaee.EjbRefType> getAmbiguousEjbRefs()
          ambiguousRefs getter

There is no corresponding setter method.

 String getComponentType()
           
 org.apache.geronimo.xbeans.javaee.EjbLocalRefType[] getEjbLocalRefArray()
          XmlBeans methods used for the @EJB, @EJBs annotations
 org.apache.geronimo.xbeans.javaee.EjbRefType[] getEjbRefArray()
           
 org.apache.geronimo.xbeans.javaee.EnvEntryType[] getEnvEntryArray()
          XmlBeans methods used for the @Resource, @Resources annotations
 org.apache.geronimo.xbeans.javaee.MessageDestinationRefType[] getMessageDestinationRefArray()
           
 org.apache.geronimo.xbeans.javaee.PersistenceContextRefType[] getPersistenceContextRefArray()
           
 org.apache.geronimo.xbeans.javaee.PersistenceUnitRefType[] getPersistenceUnitRefArray()
           
 org.apache.geronimo.xbeans.javaee.LifecycleCallbackType[] getPostConstructArray()
           
 org.apache.geronimo.xbeans.javaee.LifecycleCallbackType[] getPreDestroyArray()
           
 org.apache.geronimo.xbeans.javaee.ResourceEnvRefType[] getResourceEnvRefArray()
           
 org.apache.geronimo.xbeans.javaee.ResourceRefType[] getResourceRefArray()
           
 org.apache.geronimo.xbeans.javaee.ServiceRefType[] getServiceRefArray()
           
 String toString()
          ApplicationType getter in string format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotatedEjbJar.SessionBean

public AnnotatedEjbJar.SessionBean(org.apache.geronimo.xbeans.javaee.SessionBeanType bean)
Method Detail

getEjbLocalRefArray

public org.apache.geronimo.xbeans.javaee.EjbLocalRefType[] getEjbLocalRefArray()
Description copied from interface: AnnotatedApp
XmlBeans methods used for the @EJB, @EJBs annotations

Specified by:
getEjbLocalRefArray in interface AnnotatedApp

addNewEjbLocalRef

public org.apache.geronimo.xbeans.javaee.EjbLocalRefType addNewEjbLocalRef()
Specified by:
addNewEjbLocalRef in interface AnnotatedApp

getEjbRefArray

public org.apache.geronimo.xbeans.javaee.EjbRefType[] getEjbRefArray()
Specified by:
getEjbRefArray in interface AnnotatedApp

addNewEjbRef

public org.apache.geronimo.xbeans.javaee.EjbRefType addNewEjbRef()
Specified by:
addNewEjbRef in interface AnnotatedApp

getEnvEntryArray

public org.apache.geronimo.xbeans.javaee.EnvEntryType[] getEnvEntryArray()
Description copied from interface: AnnotatedApp
XmlBeans methods used for the @Resource, @Resources annotations

Specified by:
getEnvEntryArray in interface AnnotatedApp

addNewEnvEntry

public org.apache.geronimo.xbeans.javaee.EnvEntryType addNewEnvEntry()
Specified by:
addNewEnvEntry in interface AnnotatedApp

getServiceRefArray

public org.apache.geronimo.xbeans.javaee.ServiceRefType[] getServiceRefArray()
Specified by:
getServiceRefArray in interface AnnotatedApp

addNewServiceRef

public org.apache.geronimo.xbeans.javaee.ServiceRefType addNewServiceRef()
Specified by:
addNewServiceRef in interface AnnotatedApp

getResourceRefArray

public org.apache.geronimo.xbeans.javaee.ResourceRefType[] getResourceRefArray()
Specified by:
getResourceRefArray in interface AnnotatedApp

addNewResourceRef

public org.apache.geronimo.xbeans.javaee.ResourceRefType addNewResourceRef()
Specified by:
addNewResourceRef in interface AnnotatedApp

getMessageDestinationRefArray

public org.apache.geronimo.xbeans.javaee.MessageDestinationRefType[] getMessageDestinationRefArray()
Specified by:
getMessageDestinationRefArray in interface AnnotatedApp

addNewMessageDestinationRef

public org.apache.geronimo.xbeans.javaee.MessageDestinationRefType addNewMessageDestinationRef()
Specified by:
addNewMessageDestinationRef in interface AnnotatedApp

getResourceEnvRefArray

public org.apache.geronimo.xbeans.javaee.ResourceEnvRefType[] getResourceEnvRefArray()
Specified by:
getResourceEnvRefArray in interface AnnotatedApp

addNewResourceEnvRef

public org.apache.geronimo.xbeans.javaee.ResourceEnvRefType addNewResourceEnvRef()
Specified by:
addNewResourceEnvRef in interface AnnotatedApp

toString

public String toString()
Description copied from interface: AnnotatedApp
ApplicationType getter in string format

Specified by:
toString in interface AnnotatedApp
Overrides:
toString in class Object
Returns:
String representation of ApplicationType

getAmbiguousEjbRefs

public List<org.apache.geronimo.xbeans.javaee.EjbRefType> getAmbiguousEjbRefs()
Description copied from interface: AnnotatedApp
ambiguousRefs getter

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

    getAmbiguousEjbRefs().add(ejbRef);
 

Specified by:
getAmbiguousEjbRefs in interface AnnotatedApp
Returns:
ambiguousRefs list

getPostConstructArray

public org.apache.geronimo.xbeans.javaee.LifecycleCallbackType[] getPostConstructArray()
Specified by:
getPostConstructArray in interface AnnotatedApp

addPostConstruct

public org.apache.geronimo.xbeans.javaee.LifecycleCallbackType addPostConstruct()
Specified by:
addPostConstruct in interface AnnotatedApp

getPreDestroyArray

public org.apache.geronimo.xbeans.javaee.LifecycleCallbackType[] getPreDestroyArray()
Specified by:
getPreDestroyArray in interface AnnotatedApp

addPreDestroy

public org.apache.geronimo.xbeans.javaee.LifecycleCallbackType addPreDestroy()
Specified by:
addPreDestroy in interface AnnotatedApp

getPersistenceContextRefArray

public org.apache.geronimo.xbeans.javaee.PersistenceContextRefType[] getPersistenceContextRefArray()
Specified by:
getPersistenceContextRefArray in interface AnnotatedApp

addNewPersistenceContextRef

public org.apache.geronimo.xbeans.javaee.PersistenceContextRefType addNewPersistenceContextRef()
Specified by:
addNewPersistenceContextRef in interface AnnotatedApp

getPersistenceUnitRefArray

public org.apache.geronimo.xbeans.javaee.PersistenceUnitRefType[] getPersistenceUnitRefArray()
Specified by:
getPersistenceUnitRefArray in interface AnnotatedApp

addNewPersistenceUnitRef

public org.apache.geronimo.xbeans.javaee.PersistenceUnitRefType addNewPersistenceUnitRef()
Specified by:
addNewPersistenceUnitRef in interface AnnotatedApp

getComponentType

public String getComponentType()
Specified by:
getComponentType in interface AnnotatedApp


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.