DeploymentDescriptor

A deployment descriptor such as application.xml.

Functions

Link copied to clipboard
abstract fun getApplicationName(): String
The application name.
Link copied to clipboard
abstract fun getDescription(): String
The application description.
Link copied to clipboard
abstract fun getDisplayName(): String
The application display name.
Link copied to clipboard
abstract fun getFileName(): String
The name of the descriptor file, typically "application.
Link copied to clipboard
abstract fun getInitializeInOrder(): Boolean
Whether to initialize modules in the order they appear in the descriptor, with the exception of client modules.
Link copied to clipboard
abstract fun getLibraryDirectory(): String
The name of the directory to look for libraries in.
Link copied to clipboard
abstract fun getModules(): Set<EarModule>
List of module descriptors.
Link copied to clipboard
abstract fun getModuleTypeMappings(): Map<String, String>
Mapping of module paths to module types.
Link copied to clipboard
abstract fun getSecurityRoles(): Set<EarSecurityRole>
List of security roles.
Link copied to clipboard
abstract fun getVersion(): String
The version of application.xml.
Link copied to clipboard
abstract fun module(path: String, type: String): DeploymentDescriptor
abstract fun module(module: EarModule, type: String): DeploymentDescriptor
Add a module to the deployment descriptor.
Link copied to clipboard
abstract fun readFrom(reader: Reader): DeploymentDescriptor
Reads the deployment descriptor from a reader.
abstract fun readFrom(path: Any): Boolean
Reads the deployment descriptor from a file.
Link copied to clipboard
abstract fun securityRole(role: String): DeploymentDescriptor
Add a security role to the deployment descriptor.
Add a security role to the deployment descriptor after configuring it with the given action.
Link copied to clipboard
abstract fun setApplicationName(applicationName: String)
Link copied to clipboard
abstract fun setDescription(description: String)
Link copied to clipboard
abstract fun setDisplayName(displayName: String)
Link copied to clipboard
abstract fun setFileName(fileName: String)
Link copied to clipboard
abstract fun setInitializeInOrder(initializeInOrder: Boolean)
Link copied to clipboard
abstract fun setLibraryDirectory(libraryDirectory: String)
Link copied to clipboard
abstract fun setModules(modules: Set<EarModule>)
Link copied to clipboard
abstract fun setModuleTypeMappings(moduleTypeMappings: Map<String, String>)
Link copied to clipboard
abstract fun setSecurityRoles(securityRoles: Set<EarSecurityRole>)
Link copied to clipboard
abstract fun setVersion(version: String)
Link copied to clipboard
abstract fun webModule(path: String, contextRoot: String): DeploymentDescriptor
Add a web module to the deployment descriptor.
Link copied to clipboard
abstract fun withXml(@DelegatesTo(value = XmlProvider::class) closure: Closure): DeploymentDescriptor
Adds a closure to be called when the XML document has been created.
abstract fun withXml(action: Action<in XmlProvider>): DeploymentDescriptor
Adds an action to be called when the XML document has been created.
Link copied to clipboard
abstract fun writeTo(writer: Writer): DeploymentDescriptor
Writes the deployment descriptor into a writer.
abstract fun writeTo(path: Any): DeploymentDescriptor
Writes the deployment descriptor into a file.