org.apache.openejb.jee
Class Application

java.lang.Object
  extended by org.apache.openejb.jee.Application
All Implemented Interfaces:
JndiConsumer, NamedModule

public class Application
extends Object
implements JndiConsumer, NamedModule

application_6.xsd

Java 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
protected  String applicationName
           
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  Boolean initializeInOrder
           
protected  String libraryDirectory
           
protected  KeyedCollection<String,MessageDestination> messageDestination
           
protected  KeyedCollection<String,MessageDestinationRef> messageDestinationRef
           
protected  List<Module> module
           
protected  KeyedCollection<String,PersistenceContextRef> persistenceContextRef
           
protected  KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
           
protected  KeyedCollection<String,ResourceEnvRef> resourceEnvRef
           
protected  KeyedCollection<String,ResourceRef> resourceRef
           
protected  List<SecurityRole> securityRole
           
protected  KeyedCollection<String,ServiceRef> serviceRef
           
protected  String version
           
 
Constructor Summary
Application()
           
Application(String applicationName)
           
 
Method Summary
 String getApplicationName()
           
 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()
           
 Boolean getInitializeInOrder()
           
 String getJndiConsumerName()
           
 String getLibraryDirectory()
           
 Collection<MessageDestination> getMessageDestination()
           
 Collection<MessageDestinationRef> getMessageDestinationRef()
           
 Map<String,MessageDestinationRef> getMessageDestinationRefMap()
           
 List<Module> getModule()
           
 String getModuleName()
           
 Collection<PersistenceContextRef> getPersistenceContextRef()
           
 Map<String,PersistenceContextRef> getPersistenceContextRefMap()
           
 Collection<PersistenceUnitRef> getPersistenceUnitRef()
           
 Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
           
 Collection<ResourceEnvRef> getResourceEnvRef()
           
 Map<String,ResourceEnvRef> getResourceEnvRefMap()
           
 Collection<ResourceRef> getResourceRef()
           
 Map<String,ResourceRef> getResourceRefMap()
           
 List<SecurityRole> getSecurityRole()
           
 Collection<ServiceRef> getServiceRef()
           
 Map<String,ServiceRef> getServiceRefMap()
           
 String getVersion()
           
 void setApplicationName(String value)
           
 void setDescriptions(Text[] text)
           
 void setDisplayNames(Text[] text)
           
 void setId(String value)
           
 void setInitializeInOrder(Boolean value)
           
 void setLibraryDirectory(String value)
           
 void setModuleName(String name)
           
 void setVersion(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationName

protected String applicationName

description

protected TextMap description

displayName

protected TextMap displayName

icon

protected LocalCollection<Icon> icon

initializeInOrder

protected Boolean initializeInOrder

module

protected List<Module> module

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

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:
getModuleName in interface NamedModule

setModuleName

public void setModuleName(String name)
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()

getInitializeInOrder

public Boolean getInitializeInOrder()

setInitializeInOrder

public void setInitializeInOrder(Boolean value)

getModule

public List<Module> getModule()

getSecurityRole

public List<SecurityRole> getSecurityRole()

getLibraryDirectory

public String getLibraryDirectory()

setLibraryDirectory

public void setLibraryDirectory(String value)

getJndiConsumerName

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

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

getMessageDestination

public Collection<MessageDestination> getMessageDestination()

getDataSource

public Collection<DataSource> getDataSource()
Specified by:
getDataSource in interface JndiConsumer

getDataSourceMap

public Map<String,DataSource> getDataSourceMap()
Specified by:
getDataSourceMap in interface JndiConsumer

getVersion

public String getVersion()

setVersion

public void setVersion(String value)

getId

public String getId()
Specified by:
getId in interface NamedModule

setId

public void setId(String value)
Specified by:
setId in interface NamedModule


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.