org.apache.openejb.jee
Class ApplicationClient
java.lang.Object
org.apache.openejb.jee.ApplicationClient
- All Implemented Interfaces:
- JndiConsumer, Lifecycle, NamedModule
public class ApplicationClient
- extends Object
- implements JndiConsumer, Lifecycle, NamedModule
application-client_6.xsd
Java class for application-clientType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="application-clientType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="module-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="env-entry" type="{http://java.sun.com/xml/ns/javaee}env-entryType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ejb-ref" type="{http://java.sun.com/xml/ns/javaee}ejb-refType" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://java.sun.com/xml/ns/javaee}service-refGroup"/>
<element name="resource-ref" type="{http://java.sun.com/xml/ns/javaee}resource-refType" maxOccurs="unbounded" minOccurs="0"/>
<element name="resource-env-ref" type="{http://java.sun.com/xml/ns/javaee}resource-env-refType" maxOccurs="unbounded" minOccurs="0"/>
<element name="message-destination-ref" type="{http://java.sun.com/xml/ns/javaee}message-destination-refType" maxOccurs="unbounded" minOccurs="0"/>
<element name="persistence-unit-ref" type="{http://java.sun.com/xml/ns/javaee}persistence-unit-refType" maxOccurs="unbounded" minOccurs="0"/>
<element name="post-construct" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
<element name="pre-destroy" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
<element name="callback-handler" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
<element name="message-destination" type="{http://java.sun.com/xml/ns/javaee}message-destinationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="data-source" type="{http://java.sun.com/xml/ns/javaee}data-sourceType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}dewey-versionType" fixed="6" />
<attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
|
Field Summary |
protected String |
callbackHandler
|
protected KeyedCollection<String,DataSource> |
dataSource
|
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 String |
moduleName
|
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
|
|
Method Summary |
void |
addPostConstruct(String method)
|
void |
addPreDestroy(String method)
|
String |
getCallbackHandler()
|
Collection<DataSource> |
getDataSource()
|
Map<String,DataSource> |
getDataSourceMap()
|
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()
|
String |
getModuleName()
|
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 |
setModuleName(String moduleName)
|
void |
setVersion(String value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
moduleName
protected String moduleName
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
dataSource
protected KeyedCollection<String,DataSource> dataSource
id
protected String id
metadataComplete
protected Boolean metadataComplete
version
protected String version
mainClass
protected String mainClass
ApplicationClient
public ApplicationClient()
getJndiConsumerName
public String getJndiConsumerName()
- Specified by:
getJndiConsumerName in interface JndiConsumer
getModuleName
public String getModuleName()
- Specified by:
getModuleName in interface NamedModule
setModuleName
public void setModuleName(String moduleName)
- Specified by:
setModuleName in interface NamedModule
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
getDataSource
public Collection<DataSource> getDataSource()
- Specified by:
getDataSource in interface JndiConsumer
getDataSourceMap
public Map<String,DataSource> getDataSourceMap()
- Specified by:
getDataSourceMap in interface JndiConsumer
getPostConstruct
public List<LifecycleCallback> getPostConstruct()
- Specified by:
getPostConstruct in interface Lifecycle
getPreDestroy
public List<LifecycleCallback> getPreDestroy()
- Specified by:
getPreDestroy in interface Lifecycle
addPostConstruct
public void addPostConstruct(String method)
- Specified by:
addPostConstruct in interface Lifecycle
addPreDestroy
public void addPreDestroy(String method)
- Specified by:
addPreDestroy in interface Lifecycle
getCallbackHandler
public String getCallbackHandler()
setCallbackHandler
public void setCallbackHandler(String callbackHandler)
getMessageDestination
public Collection<MessageDestination> getMessageDestination()
getId
public String getId()
- Specified by:
getId in interface NamedModule
setId
public void setId(String value)
- Specified by:
setId in interface NamedModule
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 Software Foundation. All Rights Reserved.