public class ApplicationClient extends Object implements JndiConsumer, Lifecycle, NamedModule
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>
| Constructor and Description |
|---|
ApplicationClient() |
protected String moduleName
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected KeyedCollection<String,EnvEntry> envEntry
protected KeyedCollection<String,EjbRef> ejbRef
protected KeyedCollection<String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<String,ServiceRef> serviceRef
protected KeyedCollection<String,ResourceRef> resourceRef
protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
protected List<LifecycleCallback> postConstruct
protected List<LifecycleCallback> preDestroy
protected String callbackHandler
protected KeyedCollection<String,MessageDestination> messageDestination
protected KeyedCollection<String,DataSource> dataSource
protected String id
protected Boolean metadataComplete
protected String version
protected String mainClass
public String getJndiConsumerName()
getJndiConsumerName in interface JndiConsumerpublic String getModuleName()
getModuleName in interface NamedModulepublic void setModuleName(String moduleName)
setModuleName in interface NamedModulepublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public Collection<EnvEntry> getEnvEntry()
getEnvEntry in interface JndiConsumerpublic Map<String,EnvEntry> getEnvEntryMap()
getEnvEntryMap in interface JndiConsumerpublic Collection<EjbRef> getEjbRef()
getEjbRef in interface JndiConsumerpublic Map<String,EjbRef> getEjbRefMap()
getEjbRefMap in interface JndiConsumerpublic Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef in interface JndiConsumerpublic Map<String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap in interface JndiConsumerpublic Collection<ServiceRef> getServiceRef()
getServiceRef in interface JndiConsumerpublic Map<String,ServiceRef> getServiceRefMap()
getServiceRefMap in interface JndiConsumerpublic Collection<ResourceRef> getResourceRef()
getResourceRef in interface JndiConsumerpublic Map<String,ResourceRef> getResourceRefMap()
getResourceRefMap in interface JndiConsumerpublic Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef in interface JndiConsumerpublic Map<String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap in interface JndiConsumerpublic Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef in interface JndiConsumerpublic Map<String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap in interface JndiConsumerpublic Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef in interface JndiConsumerpublic Map<String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap in interface JndiConsumerpublic Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef in interface JndiConsumerpublic Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap in interface JndiConsumerpublic Collection<DataSource> getDataSource()
getDataSource in interface JndiConsumerpublic Map<String,DataSource> getDataSourceMap()
getDataSourceMap in interface JndiConsumerpublic List<LifecycleCallback> getPostConstruct()
getPostConstruct in interface Lifecyclepublic List<LifecycleCallback> getPreDestroy()
getPreDestroy in interface Lifecyclepublic void addPostConstruct(String method)
addPostConstruct in interface Lifecyclepublic void addPreDestroy(String method)
addPreDestroy in interface Lifecyclepublic String getCallbackHandler()
public void setCallbackHandler(String callbackHandler)
public Collection<MessageDestination> getMessageDestination()
public String getId()
getId in interface NamedModulepublic void setId(String value)
setId in interface NamedModulepublic Boolean isMetadataComplete()
public void setMetadataComplete(Boolean value)
public String getVersion()
public void setVersion(String value)
public String getMainClass()
public void setMainClass(String mainClass)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.