Package org.apache.openejb.jee
Class Application
- java.lang.Object
-
- org.apache.openejb.jee.Application
-
- All Implemented Interfaces:
JndiConsumer,NamedModule
public class Application extends Object implements JndiConsumer, NamedModule
application_6.xsdJava class for applicationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="applicationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="application-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="initialize-in-order" type="{http://java.sun.com/xml/ns/javaee}generic-booleanType" minOccurs="0"/> <element name="module" type="{http://java.sun.com/xml/ns/javaee}moduleType" maxOccurs="unbounded"/> <element name="security-role" type="{http://java.sun.com/xml/ns/javaee}security-roleType" maxOccurs="unbounded" minOccurs="0"/> <element name="library-directory" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/> <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"/> <element name="ejb-local-ref" type="{http://java.sun.com/xml/ns/javaee}ejb-local-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-context-ref" type="{http://java.sun.com/xml/ns/javaee}persistence-context-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="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="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Application()Application(String applicationName)
-
Method Summary
-
-
-
Field Detail
-
applicationName
protected String applicationName
-
description
protected TextMap description
-
displayName
protected TextMap displayName
-
icon
protected LocalCollection<Icon> icon
-
initializeInOrder
protected Boolean initializeInOrder
-
securityRole
protected List<SecurityRole> securityRole
-
libraryDirectory
protected String libraryDirectory
-
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
-
messageDestination
protected KeyedCollection<String,MessageDestination> messageDestination
-
dataSource
protected KeyedCollection<String,DataSource> dataSource
-
jmsConnectionFactories
protected KeyedCollection<String,JMSConnectionFactory> jmsConnectionFactories
-
jmsDestinations
protected KeyedCollection<String,JMSDestination> jmsDestinations
-
version
protected String version
-
id
protected String id
-
-
Constructor Detail
-
Application
public Application()
-
Application
public Application(String applicationName)
-
-
Method Detail
-
getApplicationName
public String getApplicationName()
-
setApplicationName
public void setApplicationName(String value)
-
getModuleName
public String getModuleName()
- Specified by:
getModuleNamein interfaceNamedModule
-
setModuleName
public void setModuleName(String name)
- Specified by:
setModuleNamein interfaceNamedModule
-
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()
-
getIcon
public Icon getIcon()
-
getInitializeInOrder
public Boolean getInitializeInOrder()
-
setInitializeInOrder
public void setInitializeInOrder(Boolean value)
-
getSecurityRole
public List<SecurityRole> getSecurityRole()
-
getLibraryDirectory
public String getLibraryDirectory()
-
setLibraryDirectory
public void setLibraryDirectory(String value)
-
getJndiConsumerName
public String getJndiConsumerName()
- Specified by:
getJndiConsumerNamein interfaceJndiConsumer
-
getEnvEntry
public Collection<EnvEntry> getEnvEntry()
- Specified by:
getEnvEntryin interfaceJndiConsumer
-
getEnvEntryMap
public Map<String,EnvEntry> getEnvEntryMap()
- Specified by:
getEnvEntryMapin interfaceJndiConsumer
-
getEjbRef
public Collection<EjbRef> getEjbRef()
- Specified by:
getEjbRefin interfaceJndiConsumer
-
getEjbRefMap
public Map<String,EjbRef> getEjbRefMap()
- Specified by:
getEjbRefMapin interfaceJndiConsumer
-
getEjbLocalRef
public Collection<EjbLocalRef> getEjbLocalRef()
- Specified by:
getEjbLocalRefin interfaceJndiConsumer
-
getEjbLocalRefMap
public Map<String,EjbLocalRef> getEjbLocalRefMap()
- Specified by:
getEjbLocalRefMapin interfaceJndiConsumer
-
getServiceRef
public Collection<ServiceRef> getServiceRef()
- Specified by:
getServiceRefin interfaceJndiConsumer
-
getServiceRefMap
public Map<String,ServiceRef> getServiceRefMap()
- Specified by:
getServiceRefMapin interfaceJndiConsumer
-
getResourceRef
public Collection<ResourceRef> getResourceRef()
- Specified by:
getResourceRefin interfaceJndiConsumer
-
getResourceRefMap
public Map<String,ResourceRef> getResourceRefMap()
- Specified by:
getResourceRefMapin interfaceJndiConsumer
-
getResourceEnvRef
public Collection<ResourceEnvRef> getResourceEnvRef()
- Specified by:
getResourceEnvRefin interfaceJndiConsumer
-
getResourceEnvRefMap
public Map<String,ResourceEnvRef> getResourceEnvRefMap()
- Specified by:
getResourceEnvRefMapin interfaceJndiConsumer
-
getMessageDestinationRef
public Collection<MessageDestinationRef> getMessageDestinationRef()
- Specified by:
getMessageDestinationRefin interfaceJndiConsumer
-
getMessageDestinationRefMap
public Map<String,MessageDestinationRef> getMessageDestinationRefMap()
- Specified by:
getMessageDestinationRefMapin interfaceJndiConsumer
-
getPersistenceContextRef
public Collection<PersistenceContextRef> getPersistenceContextRef()
- Specified by:
getPersistenceContextRefin interfaceJndiConsumer
-
getPersistenceContextRefMap
public Map<String,PersistenceContextRef> getPersistenceContextRefMap()
- Specified by:
getPersistenceContextRefMapin interfaceJndiConsumer
-
getPersistenceUnitRef
public Collection<PersistenceUnitRef> getPersistenceUnitRef()
- Specified by:
getPersistenceUnitRefin interfaceJndiConsumer
-
getPersistenceUnitRefMap
public Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
- Specified by:
getPersistenceUnitRefMapin interfaceJndiConsumer
-
getMessageDestination
public Collection<MessageDestination> getMessageDestination()
-
getDataSource
public Collection<DataSource> getDataSource()
- Specified by:
getDataSourcein interfaceJndiConsumer
-
getDataSourceMap
public Map<String,DataSource> getDataSourceMap()
- Specified by:
getDataSourceMapin interfaceJndiConsumer
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String value)
-
getId
public String getId()
- Specified by:
getIdin interfaceNamedModule
-
setId
public void setId(String value)
- Specified by:
setIdin interfaceNamedModule
-
getJMSConnectionFactories
public Collection<JMSConnectionFactory> getJMSConnectionFactories()
- Specified by:
getJMSConnectionFactoriesin interfaceJndiConsumer
-
getJMSConnectionFactoriesMap
public Map<String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
- Specified by:
getJMSConnectionFactoriesMapin interfaceJndiConsumer
-
getJMSDestination
public Collection<JMSDestination> getJMSDestination()
- Specified by:
getJMSDestinationin interfaceJndiConsumer
-
getJMSDestinationMap
public Map<String,JMSDestination> getJMSDestinationMap()
- Specified by:
getJMSDestinationMapin interfaceJndiConsumer
-
-