org.apache.geronimo.j2ee.deployment.annotation .AnnotatedApp All known Subclasses: org.apache.geronimo.j2ee.deployment.annotation .AnnotatedApplicationClient , org.apache.geronimo.j2ee.deployment.annotation .AnnotatedWebApp , org.apache.geronimo.j2ee.deployment.annotation .AnnotatedEjbJar ,AnnotatedApp public interface AnnotatedApp (Code) Many of the classes generated from the JEE schemas have methods with identical signatures (see
examples below). This interface can be used to encapsulate those methods so that the various
AnnotationHelper classes can use the same code for multiple application types (e.g. WebAppType,
ApplicationClientType, etc).
Example(s):
public interface ApplicationClientType extends org.apache.xmlbeans.XmlObject {
org.apache.geronimo.xbeans.javaee.EnvEntryType[] getEnvEntryArray();
org.apache.geronimo.xbeans.javaee.ResourceRefType[] getResourceRefArray();
}
public interface WebAppType extends org.apache.xmlbeans.XmlObject {
org.apache.geronimo.xbeans.javaee.EnvEntryType[] getEnvEntryArray();
org.apache.geronimo.xbeans.javaee.ResourceRefType[] getResourceRefArray();
}
Remaining ToDo(s):
version: $Rev $Datesince: Geronimo 2.0
addNewEjbLocalRef EjbLocalRefType addNewEjbLocalRef() (Code)
addNewEjbRef EjbRefType addNewEjbRef() (Code)
addNewEnvEntry EnvEntryType addNewEnvEntry() (Code)
addNewMessageDestinationRef MessageDestinationRefType addNewMessageDestinationRef() (Code)
addNewPersistenceContextRef PersistenceContextRefType addNewPersistenceContextRef() (Code)
addNewPersistenceUnitRef PersistenceUnitRefType addNewPersistenceUnitRef() (Code)
addNewResourceEnvRef ResourceEnvRefType addNewResourceEnvRef() (Code)
addNewResourceRef ResourceRefType addNewResourceRef() (Code)
addNewServiceRef ServiceRefType addNewServiceRef() (Code)
addPostConstruct LifecycleCallbackType addPostConstruct() (Code)
addPreDestroy LifecycleCallbackType addPreDestroy() (Code)
getAmbiguousEjbRefs List <EjbRefType> getAmbiguousEjbRefs() (Code) ambiguousRefs getter
There is no corresponding setter method. To add a new item to the list do this:
getAmbiguousEjbRefs().add(ejbRef);
ambiguousRefs list
getEjbLocalRefArray EjbLocalRefType[] getEjbLocalRefArray() (Code) XmlBeans methods used for the @EJB, @EJBs annotations
getEjbRefArray EjbRefType[] getEjbRefArray() (Code)
getEnvEntryArray EnvEntryType[] getEnvEntryArray() (Code) XmlBeans methods used for the @Resource, @Resources annotations
getMessageDestinationRefArray MessageDestinationRefType[] getMessageDestinationRefArray() (Code)
getPersistenceContextRefArray PersistenceContextRefType[] getPersistenceContextRefArray() (Code)
getPersistenceUnitRefArray PersistenceUnitRefType[] getPersistenceUnitRefArray() (Code)
getPostConstructArray LifecycleCallbackType[] getPostConstructArray() (Code)
getPreDestroyArray LifecycleCallbackType[] getPreDestroyArray() (Code)
getResourceEnvRefArray ResourceEnvRefType[] getResourceEnvRefArray() (Code)
getResourceRefArray ResourceRefType[] getResourceRefArray() (Code)
getServiceRefArray ServiceRefType[] getServiceRefArray() (Code)
toString String toString() (Code) ApplicationType getter in string format
String representation of ApplicationType