|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase
org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase
org.jboss.shrinkwrap.descriptor.impl.application6.Application6DescriptorImpl
public class Application6DescriptorImpl
This deployment descriptor provides the functionalities as described in the application_6.xsd specification
Example:
Application6Descriptor descriptor = Descriptors.create(Application6Descriptor.class);
Constructor Summary | |
---|---|
Application6DescriptorImpl(java.lang.String descriptorName)
|
|
Application6DescriptorImpl(java.lang.String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
Method Summary | |
---|---|
Application6Descriptor |
addDefaultNamespaces()
|
Application6Descriptor |
addNamespace(java.lang.String name,
java.lang.String value)
|
DataSourceType<Application6Descriptor> |
dataSource()
Returns the data-source element |
EjbLocalRefType<Application6Descriptor> |
ejbLocalRef()
Returns the ejb-local-ref element |
EjbRefType<Application6Descriptor> |
ejbRef()
Returns the ejb-ref element |
EnvEntryType<Application6Descriptor> |
envEntry()
Returns the env-entry element |
java.lang.String |
getApplicationName()
Returns the application-name element |
java.util.List<DataSourceType<Application6Descriptor>> |
getDataSourceList()
Returns all data-source elements |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.util.List<EjbLocalRefType<Application6Descriptor>> |
getEjbLocalRefList()
Returns all ejb-local-ref elements |
java.util.List<EjbRefType<Application6Descriptor>> |
getEjbRefList()
Returns all ejb-ref elements |
java.util.List<EnvEntryType<Application6Descriptor>> |
getEnvEntryList()
Returns all env-entry elements |
java.util.List<IconType<Application6Descriptor>> |
getIconList()
Returns all icon elements |
GenericBooleanType |
getInitializeInOrder()
Returns the initialize-in-order element |
java.lang.String |
getInitializeInOrderAsString()
Returns the initialize-in-order element |
java.lang.String |
getLibraryDirectory()
Returns the library-directory element |
java.util.List<MessageDestinationType<Application6Descriptor>> |
getMessageDestinationList()
Returns all message-destination elements |
java.util.List<MessageDestinationRefType<Application6Descriptor>> |
getMessageDestinationRefList()
Returns all message-destination-ref elements |
java.util.List<ModuleType<Application6Descriptor>> |
getModuleList()
Returns all module elements |
java.util.List<java.lang.String> |
getNamespaces()
|
java.util.List<PersistenceContextRefType<Application6Descriptor>> |
getPersistenceContextRefList()
Returns all persistence-context-ref elements |
java.util.List<PersistenceUnitRefType<Application6Descriptor>> |
getPersistenceUnitRefList()
Returns all persistence-unit-ref elements |
java.util.List<ResourceEnvRefType<Application6Descriptor>> |
getResourceEnvRefList()
Returns all resource-env-ref elements |
java.util.List<ResourceRefType<Application6Descriptor>> |
getResourceRefList()
Returns all resource-ref elements |
org.jboss.shrinkwrap.descriptor.spi.Node |
getRootNode()
|
java.util.List<SecurityRoleType<Application6Descriptor>> |
getSecurityRoleList()
Returns all security-role elements |
java.lang.String |
getVersion()
Returns the version element |
IconType<Application6Descriptor> |
icon()
Returns the icon element |
MessageDestinationType<Application6Descriptor> |
messageDestination()
Returns the message-destination element |
MessageDestinationRefType<Application6Descriptor> |
messageDestinationRef()
Returns the message-destination-ref element |
ModuleType<Application6Descriptor> |
module()
Returns the module element |
PersistenceContextRefType<Application6Descriptor> |
persistenceContextRef()
Returns the persistence-context-ref element |
PersistenceUnitRefType<Application6Descriptor> |
persistenceUnitRef()
Returns the persistence-unit-ref element |
Application6Descriptor |
removeAllDataSource()
Removes all data-source elements |
Application6Descriptor |
removeAllDescription()
Removes the description element |
Application6Descriptor |
removeAllDisplayName()
Removes the display-name element |
Application6Descriptor |
removeAllEjbLocalRef()
Removes all ejb-local-ref elements |
Application6Descriptor |
removeAllEjbRef()
Removes all ejb-ref elements |
Application6Descriptor |
removeAllEnvEntry()
Removes all env-entry elements |
Application6Descriptor |
removeAllIcon()
Removes all icon elements |
Application6Descriptor |
removeAllMessageDestination()
Removes all message-destination elements |
Application6Descriptor |
removeAllMessageDestinationRef()
Removes all message-destination-ref elements |
Application6Descriptor |
removeAllModule()
Removes all module elements |
Application6Descriptor |
removeAllNamespaces()
|
Application6Descriptor |
removeAllPersistenceContextRef()
Removes all persistence-context-ref elements |
Application6Descriptor |
removeAllPersistenceUnitRef()
Removes all persistence-unit-ref elements |
Application6Descriptor |
removeAllResourceEnvRef()
Removes all resource-env-ref elements |
Application6Descriptor |
removeAllResourceRef()
Removes all resource-ref elements |
Application6Descriptor |
removeAllSecurityRole()
Removes all security-role elements |
Application6Descriptor |
removeApplicationName()
Removes the application-name element |
Application6Descriptor |
removeLibraryDirectory()
Removes the library-directory element |
Application6Descriptor |
removeVersion()
Removes the version attribute |
ResourceEnvRefType<Application6Descriptor> |
resourceEnvRef()
Returns the resource-env-ref element |
ResourceRefType<Application6Descriptor> |
resourceRef()
Returns the resource-ref element |
SecurityRoleType<Application6Descriptor> |
securityRole()
Returns the security-role element |
Application6Descriptor |
setApplicationName(java.lang.String applicationName)
If not already created, a new application-name element with the given value will be created. |
Application6Descriptor |
setDescription(java.lang.String description)
Creates a new description element |
Application6Descriptor |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
Application6Descriptor |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
Application6Descriptor |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
Application6Descriptor |
setInitializeInOrder(GenericBooleanType initializeInOrder)
If not already created, a new initialize-in-order element with the given value will be created. |
Application6Descriptor |
setInitializeInOrder(java.lang.String initializeInOrder)
If not already created, a new initialize-in-order element with the given value will be created. |
Application6Descriptor |
setLibraryDirectory(java.lang.String libraryDirectory)
If not already created, a new library-directory element with the given value will be created. |
Application6Descriptor |
setVersion(java.lang.String version)
Sets the version attribute |
Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase |
---|
exportAsString, exportTo |
Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase |
---|
getDescriptorName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
---|
exportAsString, exportTo, getDescriptorName |
Constructor Detail |
---|
public Application6DescriptorImpl(java.lang.String descriptorName)
public Application6DescriptorImpl(java.lang.String descriptorName, org.jboss.shrinkwrap.descriptor.spi.Node node)
Method Detail |
---|
public org.jboss.shrinkwrap.descriptor.spi.Node getRootNode()
getRootNode
in interface org.jboss.shrinkwrap.descriptor.spi.NodeProvider
public Application6Descriptor addDefaultNamespaces()
addDefaultNamespaces
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application6Descriptor>
public Application6Descriptor addNamespace(java.lang.String name, java.lang.String value)
addNamespace
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application6Descriptor>
public java.util.List<java.lang.String> getNamespaces()
getNamespaces
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application6Descriptor>
public Application6Descriptor removeAllNamespaces()
removeAllNamespaces
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application6Descriptor>
public Application6Descriptor setApplicationName(java.lang.String applicationName)
application-name
element with the given value will be created.
Otherwise, the existing application-name
element will be updated with the given value.
setApplicationName
in interface Application6Descriptor
Application6Descriptor
public Application6Descriptor removeApplicationName()
application-name
element
removeApplicationName
in interface Application6Descriptor
Application6Descriptor
public java.lang.String getApplicationName()
application-name
element
getApplicationName
in interface Application6Descriptor
application-name
public Application6Descriptor setInitializeInOrder(GenericBooleanType initializeInOrder)
initialize-in-order
element with the given value will be created.
Otherwise, the existing initialize-in-order
element will be updated with the given value.
setInitializeInOrder
in interface Application6Descriptor
Application6Descriptor
public Application6Descriptor setInitializeInOrder(java.lang.String initializeInOrder)
initialize-in-order
element with the given value will be created.
Otherwise, the existing initialize-in-order
element will be updated with the given value.
setInitializeInOrder
in interface Application6Descriptor
Application6Descriptor
public GenericBooleanType getInitializeInOrder()
initialize-in-order
element
getInitializeInOrder
in interface Application6Descriptor
initialize-in-order
public java.lang.String getInitializeInOrderAsString()
initialize-in-order
element
getInitializeInOrderAsString
in interface Application6Descriptor
initialize-in-order
public Application6Descriptor removeAllModule()
module
elements
removeAllModule
in interface Application6Descriptor
Application6Descriptor
public ModuleType<Application6Descriptor> module()
module
element
module
in interface Application6Descriptor
module
public java.util.List<ModuleType<Application6Descriptor>> getModuleList()
module
elements
getModuleList
in interface Application6Descriptor
module
public Application6Descriptor removeAllSecurityRole()
security-role
elements
removeAllSecurityRole
in interface Application6Descriptor
Application6Descriptor
public SecurityRoleType<Application6Descriptor> securityRole()
security-role
element
securityRole
in interface Application6Descriptor
security-role
public java.util.List<SecurityRoleType<Application6Descriptor>> getSecurityRoleList()
security-role
elements
getSecurityRoleList
in interface Application6Descriptor
security-role
public Application6Descriptor setLibraryDirectory(java.lang.String libraryDirectory)
library-directory
element with the given value will be created.
Otherwise, the existing library-directory
element will be updated with the given value.
setLibraryDirectory
in interface Application6Descriptor
Application6Descriptor
public Application6Descriptor removeLibraryDirectory()
library-directory
element
removeLibraryDirectory
in interface Application6Descriptor
Application6Descriptor
public java.lang.String getLibraryDirectory()
library-directory
element
getLibraryDirectory
in interface Application6Descriptor
library-directory
public Application6Descriptor removeAllEnvEntry()
env-entry
elements
removeAllEnvEntry
in interface Application6Descriptor
Application6Descriptor
public EnvEntryType<Application6Descriptor> envEntry()
env-entry
element
envEntry
in interface Application6Descriptor
env-entry
public java.util.List<EnvEntryType<Application6Descriptor>> getEnvEntryList()
env-entry
elements
getEnvEntryList
in interface Application6Descriptor
env-entry
public Application6Descriptor removeAllEjbRef()
ejb-ref
elements
removeAllEjbRef
in interface Application6Descriptor
Application6Descriptor
public EjbRefType<Application6Descriptor> ejbRef()
ejb-ref
element
ejbRef
in interface Application6Descriptor
ejb-ref
public java.util.List<EjbRefType<Application6Descriptor>> getEjbRefList()
ejb-ref
elements
getEjbRefList
in interface Application6Descriptor
ejb-ref
public Application6Descriptor removeAllEjbLocalRef()
ejb-local-ref
elements
removeAllEjbLocalRef
in interface Application6Descriptor
Application6Descriptor
public EjbLocalRefType<Application6Descriptor> ejbLocalRef()
ejb-local-ref
element
ejbLocalRef
in interface Application6Descriptor
ejb-local-ref
public java.util.List<EjbLocalRefType<Application6Descriptor>> getEjbLocalRefList()
ejb-local-ref
elements
getEjbLocalRefList
in interface Application6Descriptor
ejb-local-ref
public Application6Descriptor removeAllResourceRef()
resource-ref
elements
removeAllResourceRef
in interface Application6Descriptor
Application6Descriptor
public ResourceRefType<Application6Descriptor> resourceRef()
resource-ref
element
resourceRef
in interface Application6Descriptor
resource-ref
public java.util.List<ResourceRefType<Application6Descriptor>> getResourceRefList()
resource-ref
elements
getResourceRefList
in interface Application6Descriptor
resource-ref
public Application6Descriptor removeAllResourceEnvRef()
resource-env-ref
elements
removeAllResourceEnvRef
in interface Application6Descriptor
Application6Descriptor
public ResourceEnvRefType<Application6Descriptor> resourceEnvRef()
resource-env-ref
element
resourceEnvRef
in interface Application6Descriptor
resource-env-ref
public java.util.List<ResourceEnvRefType<Application6Descriptor>> getResourceEnvRefList()
resource-env-ref
elements
getResourceEnvRefList
in interface Application6Descriptor
resource-env-ref
public Application6Descriptor removeAllMessageDestinationRef()
message-destination-ref
elements
removeAllMessageDestinationRef
in interface Application6Descriptor
Application6Descriptor
public MessageDestinationRefType<Application6Descriptor> messageDestinationRef()
message-destination-ref
element
messageDestinationRef
in interface Application6Descriptor
message-destination-ref
public java.util.List<MessageDestinationRefType<Application6Descriptor>> getMessageDestinationRefList()
message-destination-ref
elements
getMessageDestinationRefList
in interface Application6Descriptor
message-destination-ref
public Application6Descriptor removeAllPersistenceContextRef()
persistence-context-ref
elements
removeAllPersistenceContextRef
in interface Application6Descriptor
Application6Descriptor
public PersistenceContextRefType<Application6Descriptor> persistenceContextRef()
persistence-context-ref
element
persistenceContextRef
in interface Application6Descriptor
persistence-context-ref
public java.util.List<PersistenceContextRefType<Application6Descriptor>> getPersistenceContextRefList()
persistence-context-ref
elements
getPersistenceContextRefList
in interface Application6Descriptor
persistence-context-ref
public Application6Descriptor removeAllPersistenceUnitRef()
persistence-unit-ref
elements
removeAllPersistenceUnitRef
in interface Application6Descriptor
Application6Descriptor
public PersistenceUnitRefType<Application6Descriptor> persistenceUnitRef()
persistence-unit-ref
element
persistenceUnitRef
in interface Application6Descriptor
persistence-unit-ref
public java.util.List<PersistenceUnitRefType<Application6Descriptor>> getPersistenceUnitRefList()
persistence-unit-ref
elements
getPersistenceUnitRefList
in interface Application6Descriptor
persistence-unit-ref
public Application6Descriptor removeAllMessageDestination()
message-destination
elements
removeAllMessageDestination
in interface Application6Descriptor
Application6Descriptor
public MessageDestinationType<Application6Descriptor> messageDestination()
message-destination
element
messageDestination
in interface Application6Descriptor
message-destination
public java.util.List<MessageDestinationType<Application6Descriptor>> getMessageDestinationList()
message-destination
elements
getMessageDestinationList
in interface Application6Descriptor
message-destination
public Application6Descriptor removeAllDataSource()
data-source
elements
removeAllDataSource
in interface Application6Descriptor
Application6Descriptor
public DataSourceType<Application6Descriptor> dataSource()
data-source
element
dataSource
in interface Application6Descriptor
data-source
public java.util.List<DataSourceType<Application6Descriptor>> getDataSourceList()
data-source
elements
getDataSourceList
in interface Application6Descriptor
data-source
public Application6Descriptor setVersion(java.lang.String version)
version
attribute
setVersion
in interface Application6Descriptor
version
- the value for the attribute version
Application6Descriptor
public Application6Descriptor removeVersion()
version
attribute
removeVersion
in interface Application6Descriptor
Application6Descriptor
public java.lang.String getVersion()
version
element
getVersion
in interface Application6Descriptor
version
public Application6Descriptor setDescription(java.lang.String description)
description
element
setDescription
in interface Application6Descriptor
Application6Descriptor
public Application6Descriptor setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface Application6Descriptor
list
- of description
objects
Application6Descriptor
public Application6Descriptor removeAllDescription()
description
element
removeAllDescription
in interface Application6Descriptor
Application6Descriptor
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface Application6Descriptor
description
public Application6Descriptor setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface Application6Descriptor
Application6Descriptor
public Application6Descriptor setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface Application6Descriptor
list
- of display-name
objects
Application6Descriptor
public Application6Descriptor removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface Application6Descriptor
Application6Descriptor
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface Application6Descriptor
display-name
public Application6Descriptor removeAllIcon()
icon
elements
removeAllIcon
in interface Application6Descriptor
Application6Descriptor
public IconType<Application6Descriptor> icon()
icon
element
icon
in interface Application6Descriptor
icon
public java.util.List<IconType<Application6Descriptor>> getIconList()
icon
elements
getIconList
in interface Application6Descriptor
icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |