public interface JbossDescriptor extends Descriptor, DescriptorNamespace<JbossDescriptor>
This deployment descriptor provides the functionalities as described in the specification
Example:
JbossDescriptor descriptor = Descriptors.create(JbossDescriptor.class);
Modifier and Type | Method and Description |
---|---|
IconType<JbossDescriptor> |
createIcon()
Creates a new
icon element |
JbossDescriptor |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
JbossDescriptor |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<IconType<JbossDescriptor>> |
getAllIcon()
Returns all
icon elements |
String |
getId()
Returns the
id attribute |
String |
getJaccContextId()
Returns the
jacc-context-id element |
String |
getJmxName()
Returns the
jmx-name element |
String |
getJndiBindingPolicy()
Returns the
jndi-binding-policy element |
String |
getMissingMethodPermissionsExcludedMode()
Returns the
missing-method-permissions-excluded-mode element |
AssemblyDescriptorType<JbossDescriptor> |
getOrCreateAssemblyDescriptor()
If not already created, a new
assembly-descriptor element with the given value will be created. |
EnterpriseBeansType<JbossDescriptor> |
getOrCreateEnterpriseBeans()
If not already created, a new
enterprise-beans element with the given value will be created. |
IconType<JbossDescriptor> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
LoaderRepositoryType<JbossDescriptor> |
getOrCreateLoaderRepository()
If not already created, a new
loader-repository element with the given value will be created. |
ResourceManagersType<JbossDescriptor> |
getOrCreateResourceManagers()
If not already created, a new
resource-managers element with the given value will be created. |
WebservicesType<JbossDescriptor> |
getOrCreateWebservices()
If not already created, a new
webservices element with the given value will be created. |
String |
getSecurityDomain()
Returns the
security-domain element |
String |
getUnauthenticatedPrincipal()
Returns the
unauthenticated-principal element |
String |
getVersion()
Returns the
version attribute |
JbossDescriptor |
id(String id)
Sets the
id attribute |
Boolean |
isMetadataComplete()
Returns the
metadata-complete attribute |
JbossDescriptor |
jaccContextId(String jaccContextId)
Sets the
jacc-context-id element |
JbossDescriptor |
jmxName(String jmxName)
Sets the
jmx-name element |
JbossDescriptor |
jndiBindingPolicy(String jndiBindingPolicy)
Sets the
jndi-binding-policy element |
JbossDescriptor |
metadataComplete(Boolean metadataComplete)
Sets the
metadata-complete attribute |
JbossDescriptor |
missingMethodPermissionsExcludedMode(String missingMethodPermissionsExcludedMode)
Sets the
missing-method-permissions-excluded-mode element |
JbossDescriptor |
removeAllDescription()
Removes the
description element |
JbossDescriptor |
removeAllDisplayName()
Removes the
display-name element |
JbossDescriptor |
removeAllIcon()
Removes all
icon elements |
JbossDescriptor |
removeAssemblyDescriptor()
Removes the
assembly-descriptor element |
JbossDescriptor |
removeEnterpriseBeans()
Removes the
enterprise-beans element |
JbossDescriptor |
removeId()
Removes the
id attribute |
JbossDescriptor |
removeJaccContextId()
Removes the
jacc-context-id element |
JbossDescriptor |
removeJmxName()
Removes the
jmx-name element |
JbossDescriptor |
removeJndiBindingPolicy()
Removes the
jndi-binding-policy element |
JbossDescriptor |
removeLoaderRepository()
Removes the
loader-repository element |
JbossDescriptor |
removeMetadataComplete()
Removes the
metadata-complete attribute |
JbossDescriptor |
removeMissingMethodPermissionsExcludedMode()
Removes the
missing-method-permissions-excluded-mode element |
JbossDescriptor |
removeResourceManagers()
Removes the
resource-managers element |
JbossDescriptor |
removeSecurityDomain()
Removes the
security-domain element |
JbossDescriptor |
removeUnauthenticatedPrincipal()
Removes the
unauthenticated-principal element |
JbossDescriptor |
removeVersion()
Removes the
version attribute |
JbossDescriptor |
removeWebservices()
Removes the
webservices element |
JbossDescriptor |
securityDomain(String securityDomain)
Sets the
security-domain element |
JbossDescriptor |
unauthenticatedPrincipal(String unauthenticatedPrincipal)
Sets the
unauthenticated-principal element |
JbossDescriptor |
version(String version)
Sets the
version attribute |
exportAsString, exportTo, getDescriptorName
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
static final String VERSION
JbossDescriptor description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsJbossDescriptor
List<String> getAllDescription()
description
elementsdescription
JbossDescriptor removeAllDescription()
description
elementJbossDescriptor
JbossDescriptor displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsJbossDescriptor
List<String> getAllDisplayName()
display-name
elementsdisplay-name
JbossDescriptor removeAllDisplayName()
display-name
elementJbossDescriptor
IconType<JbossDescriptor> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<JbossDescriptor> createIcon()
icon
elementIconType
List<IconType<JbossDescriptor>> getAllIcon()
icon
elementsicon
JbossDescriptor removeAllIcon()
icon
elementsIconType
LoaderRepositoryType<JbossDescriptor> getOrCreateLoaderRepository()
loader-repository
element with the given value will be created.
Otherwise, the existing loader-repository
element will be returned.LoaderRepositoryType
JbossDescriptor removeLoaderRepository()
loader-repository
elementJbossDescriptor
JbossDescriptor jmxName(String jmxName)
jmx-name
elementjmxName
- the value for the element jmx-name
JbossDescriptor
String getJmxName()
jmx-name
elementjmx-name
JbossDescriptor removeJmxName()
jmx-name
elementJbossDescriptor
JbossDescriptor securityDomain(String securityDomain)
security-domain
elementsecurityDomain
- the value for the element security-domain
JbossDescriptor
String getSecurityDomain()
security-domain
elementsecurity-domain
JbossDescriptor removeSecurityDomain()
security-domain
elementJbossDescriptor
JbossDescriptor missingMethodPermissionsExcludedMode(String missingMethodPermissionsExcludedMode)
missing-method-permissions-excluded-mode
elementmissingMethodPermissionsExcludedMode
- the value for the element missing-method-permissions-excluded-mode
JbossDescriptor
String getMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode
elementmissing-method-permissions-excluded-mode
JbossDescriptor removeMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode
elementJbossDescriptor
JbossDescriptor unauthenticatedPrincipal(String unauthenticatedPrincipal)
unauthenticated-principal
elementunauthenticatedPrincipal
- the value for the element unauthenticated-principal
JbossDescriptor
String getUnauthenticatedPrincipal()
unauthenticated-principal
elementunauthenticated-principal
JbossDescriptor removeUnauthenticatedPrincipal()
unauthenticated-principal
elementJbossDescriptor
JbossDescriptor jndiBindingPolicy(String jndiBindingPolicy)
jndi-binding-policy
elementjndiBindingPolicy
- the value for the element jndi-binding-policy
JbossDescriptor
String getJndiBindingPolicy()
jndi-binding-policy
elementjndi-binding-policy
JbossDescriptor removeJndiBindingPolicy()
jndi-binding-policy
elementJbossDescriptor
JbossDescriptor jaccContextId(String jaccContextId)
jacc-context-id
elementjaccContextId
- the value for the element jacc-context-id
JbossDescriptor
String getJaccContextId()
jacc-context-id
elementjacc-context-id
JbossDescriptor removeJaccContextId()
jacc-context-id
elementJbossDescriptor
WebservicesType<JbossDescriptor> getOrCreateWebservices()
webservices
element with the given value will be created.
Otherwise, the existing webservices
element will be returned.WebservicesType
JbossDescriptor removeWebservices()
webservices
elementJbossDescriptor
EnterpriseBeansType<JbossDescriptor> getOrCreateEnterpriseBeans()
enterprise-beans
element with the given value will be created.
Otherwise, the existing enterprise-beans
element will be returned.EnterpriseBeansType
JbossDescriptor removeEnterpriseBeans()
enterprise-beans
elementJbossDescriptor
AssemblyDescriptorType<JbossDescriptor> getOrCreateAssemblyDescriptor()
assembly-descriptor
element with the given value will be created.
Otherwise, the existing assembly-descriptor
element will be returned.AssemblyDescriptorType
JbossDescriptor removeAssemblyDescriptor()
assembly-descriptor
elementJbossDescriptor
ResourceManagersType<JbossDescriptor> getOrCreateResourceManagers()
resource-managers
element with the given value will be created.
Otherwise, the existing resource-managers
element will be returned.ResourceManagersType
JbossDescriptor removeResourceManagers()
resource-managers
elementJbossDescriptor
JbossDescriptor version(String version)
version
attributeversion
- the value for the attribute version
JbossDescriptor
String getVersion()
version
attributeversion
JbossDescriptor removeVersion()
version
attributeJbossDescriptor
JbossDescriptor metadataComplete(Boolean metadataComplete)
metadata-complete
attributemetadataComplete
- the value for the attribute metadata-complete
JbossDescriptor
Boolean isMetadataComplete()
metadata-complete
attributemetadata-complete
JbossDescriptor removeMetadataComplete()
metadata-complete
attributeJbossDescriptor
JbossDescriptor id(String id)
id
attributeid
- the value for the attribute id
JbossDescriptor
String getId()
id
attributeid
JbossDescriptor removeId()
id
attributeJbossDescriptor
Copyright © 2023 JBoss by Red Hat. All rights reserved.