org.apache.openejb.jee
Class ApplicationClient

java.lang.Object
  extended by org.apache.openejb.jee.ApplicationClient
All Implemented Interfaces:
JndiConsumer

public class ApplicationClient
extends Object
implements JndiConsumer


Field Summary
protected  String callbackHandler
           
protected  TextMap description
           
protected  TextMap displayName
           
protected  KeyedCollection<String,EjbLocalRef> ejbLocalRef
           
protected  KeyedCollection<String,EjbRef> ejbRef
           
protected  KeyedCollection<String,EnvEntry> envEntry
           
protected  LocalCollection<Icon> icon
           
protected  String id
           
protected  String mainClass
           
protected  KeyedCollection<String,MessageDestination> messageDestination
           
protected  KeyedCollection<String,MessageDestinationRef> messageDestinationRef
           
protected  Boolean metadataComplete
           
protected  KeyedCollection<String,PersistenceContextRef> persistenceContextRef
           
protected  KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
           
protected  List<LifecycleCallback> postConstruct
           
protected  List<LifecycleCallback> preDestroy
           
protected  KeyedCollection<String,ResourceEnvRef> resourceEnvRef
           
protected  KeyedCollection<String,ResourceRef> resourceRef
           
protected  KeyedCollection<String,ServiceRef> serviceRef
           
protected  String version
           
 
Constructor Summary
ApplicationClient()
           
 
Method Summary
 void addPostConstruct(String method)
           
 void addPreDestroy(String method)
           
 String getCallbackHandler()
           
 String getDescription()
           
 Text[] getDescriptions()
           
 String getDisplayName()
           
 Text[] getDisplayNames()
           
 Collection<EjbLocalRef> getEjbLocalRef()
           
 Map<String,EjbLocalRef> getEjbLocalRefMap()
           
 Collection<EjbRef> getEjbRef()
           
 Map<String,EjbRef> getEjbRefMap()
           
 Collection<EnvEntry> getEnvEntry()
           
 Map<String,EnvEntry> getEnvEntryMap()
           
 Icon getIcon()
           
 Map<String,Icon> getIconMap()
           
 Collection<Icon> getIcons()
           
 String getId()
           
 String getJndiConsumerName()
           
 String getMainClass()
           
 Collection<MessageDestination> getMessageDestination()
           
 Collection<MessageDestinationRef> getMessageDestinationRef()
           
 Map<String,MessageDestinationRef> getMessageDestinationRefMap()
           
 Collection<PersistenceContextRef> getPersistenceContextRef()
           
 Map<String,PersistenceContextRef> getPersistenceContextRefMap()
           
 Collection<PersistenceUnitRef> getPersistenceUnitRef()
           
 Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
           
 List<LifecycleCallback> getPostConstruct()
           
 List<LifecycleCallback> getPreDestroy()
           
 Collection<ResourceEnvRef> getResourceEnvRef()
           
 Map<String,ResourceEnvRef> getResourceEnvRefMap()
           
 Collection<ResourceRef> getResourceRef()
           
 Map<String,ResourceRef> getResourceRefMap()
           
 Collection<ServiceRef> getServiceRef()
           
 Map<String,ServiceRef> getServiceRefMap()
           
 String getVersion()
           
 Boolean isMetadataComplete()
           
 void setCallbackHandler(String callbackHandler)
           
 void setDescriptions(Text[] text)
           
 void setDisplayNames(Text[] text)
           
 void setId(String value)
           
 void setMainClass(String mainClass)
           
 void setMetadataComplete(Boolean value)
           
 void setVersion(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected TextMap description

displayName

protected TextMap displayName

icon

protected LocalCollection<Icon> icon

envEntry

protected KeyedCollection<String,EnvEntry> envEntry

ejbRef

protected KeyedCollection<String,EjbRef> ejbRef

ejbLocalRef

protected KeyedCollection<String,EjbLocalRef> ejbLocalRef

serviceRef

protected KeyedCollection<String,ServiceRef> serviceRef

resourceRef

protected KeyedCollection<String,ResourceRef> resourceRef

resourceEnvRef

protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef

messageDestinationRef

protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef

persistenceContextRef

protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef

persistenceUnitRef

protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef

postConstruct

protected List<LifecycleCallback> postConstruct

preDestroy

protected List<LifecycleCallback> preDestroy

callbackHandler

protected String callbackHandler

messageDestination

protected KeyedCollection<String,MessageDestination> messageDestination

id

protected String id

metadataComplete

protected Boolean metadataComplete

version

protected String version

mainClass

protected String mainClass
Constructor Detail

ApplicationClient

public ApplicationClient()
Method Detail

getJndiConsumerName

public String getJndiConsumerName()
Specified by:
getJndiConsumerName in interface JndiConsumer

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getDisplayNames

public Text[] getDisplayNames()

setDisplayNames

public void setDisplayNames(Text[] text)

getDisplayName

public String getDisplayName()

getIcons

public Collection<Icon> getIcons()

getIconMap

public Map<String,Icon> getIconMap()

getIcon

public Icon getIcon()

getEnvEntry

public Collection<EnvEntry> getEnvEntry()
Specified by:
getEnvEntry in interface JndiConsumer

getEnvEntryMap

public Map<String,EnvEntry> getEnvEntryMap()
Specified by:
getEnvEntryMap in interface JndiConsumer

getEjbRef

public Collection<EjbRef> getEjbRef()
Specified by:
getEjbRef in interface JndiConsumer

getEjbRefMap

public Map<String,EjbRef> getEjbRefMap()
Specified by:
getEjbRefMap in interface JndiConsumer

getEjbLocalRef

public Collection<EjbLocalRef> getEjbLocalRef()
Specified by:
getEjbLocalRef in interface JndiConsumer

getEjbLocalRefMap

public Map<String,EjbLocalRef> getEjbLocalRefMap()
Specified by:
getEjbLocalRefMap in interface JndiConsumer

getServiceRef

public Collection<ServiceRef> getServiceRef()
Specified by:
getServiceRef in interface JndiConsumer

getServiceRefMap

public Map<String,ServiceRef> getServiceRefMap()
Specified by:
getServiceRefMap in interface JndiConsumer

getResourceRef

public Collection<ResourceRef> getResourceRef()
Specified by:
getResourceRef in interface JndiConsumer

getResourceRefMap

public Map<String,ResourceRef> getResourceRefMap()
Specified by:
getResourceRefMap in interface JndiConsumer

getResourceEnvRef

public Collection<ResourceEnvRef> getResourceEnvRef()
Specified by:
getResourceEnvRef in interface JndiConsumer

getResourceEnvRefMap

public Map<String,ResourceEnvRef> getResourceEnvRefMap()
Specified by:
getResourceEnvRefMap in interface JndiConsumer

getMessageDestinationRef

public Collection<MessageDestinationRef> getMessageDestinationRef()
Specified by:
getMessageDestinationRef in interface JndiConsumer

getMessageDestinationRefMap

public Map<String,MessageDestinationRef> getMessageDestinationRefMap()
Specified by:
getMessageDestinationRefMap in interface JndiConsumer

getPersistenceContextRef

public Collection<PersistenceContextRef> getPersistenceContextRef()
Specified by:
getPersistenceContextRef in interface JndiConsumer

getPersistenceContextRefMap

public Map<String,PersistenceContextRef> getPersistenceContextRefMap()
Specified by:
getPersistenceContextRefMap in interface JndiConsumer

getPersistenceUnitRef

public Collection<PersistenceUnitRef> getPersistenceUnitRef()
Specified by:
getPersistenceUnitRef in interface JndiConsumer

getPersistenceUnitRefMap

public Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
Specified by:
getPersistenceUnitRefMap in interface JndiConsumer

getPostConstruct

public List<LifecycleCallback> getPostConstruct()

getPreDestroy

public List<LifecycleCallback> getPreDestroy()

addPostConstruct

public void addPostConstruct(String method)

addPreDestroy

public void addPreDestroy(String method)

getCallbackHandler

public String getCallbackHandler()

setCallbackHandler

public void setCallbackHandler(String callbackHandler)

getMessageDestination

public Collection<MessageDestination> getMessageDestination()

getId

public String getId()

setId

public void setId(String value)

isMetadataComplete

public Boolean isMetadataComplete()

setMetadataComplete

public void setMetadataComplete(Boolean value)

getVersion

public String getVersion()

setVersion

public void setVersion(String value)

getMainClass

public String getMainClass()

setMainClass

public void setMainClass(String mainClass)


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