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

All Implemented Interfaces:
    AnnotatedApp

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

Remaining ToDo(s):

Constructor:
 public AnnotatedApplicationClient(ApplicationClientType applicationClient,
    String applicationClientClassName) 
    ApplicationClientType-qualified constructor
    Parameters:
    applicationClient - ApplicationClientType
    applicationClientClassName -
Method from org.apache.geronimo.j2ee.deployment.annotation.AnnotatedApplicationClient Summary:
addNewEjbLocalRef,   addNewEjbRef,   addNewEnvEntry,   addNewMessageDestinationRef,   addNewPersistenceContextRef,   addNewPersistenceUnitRef,   addNewResourceEnvRef,   addNewResourceRef,   addNewServiceRef,   addPostConstruct,   addPreDestroy,   getAmbiguousEjbRefs,   getApplicationClient,   getComponentType,   getEjbLocalRefArray,   getEjbRefArray,   getEnvEntryArray,   getMessageDestinationRefArray,   getPersistenceContextRefArray,   getPersistenceUnitRefArray,   getPostConstructArray,   getPreDestroyArray,   getResourceEnvRefArray,   getResourceRefArray,   getServiceRefArray,   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.AnnotatedApplicationClient 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 ApplicationClientType getApplicationClient() 
    applicationClient getter
 public String getComponentType() 
 public EjbLocalRefType[] getEjbLocalRefArray() 
    ApplicationClientType methods used for the @EJB, @EJBs annotations
 public EjbRefType[] getEjbRefArray() 
 public EnvEntryType[] getEnvEntryArray() 
    ApplicationClientType 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 String toString() 
    applicationClient getter