
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, getDescriptorNameaddDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespacesstatic final String VERSION
JbossDescriptor description(String... values)
description elements,
a new description elementvalues - list of description objectsJbossDescriptorList<String> getAllDescription()
description elementsdescriptionJbossDescriptor removeAllDescription()
description elementJbossDescriptorJbossDescriptor displayName(String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsJbossDescriptorList<String> getAllDisplayName()
display-name elementsdisplay-nameJbossDescriptor removeAllDisplayName()
display-name elementJbossDescriptorIconType<JbossDescriptor> getOrCreateIcon()
icon element will be created and returned.
Otherwise, the first existing icon element will be returned.iconIconType<JbossDescriptor> createIcon()
icon elementIconTypeList<IconType<JbossDescriptor>> getAllIcon()
icon elementsiconJbossDescriptor removeAllIcon()
icon elementsIconTypeLoaderRepositoryType<JbossDescriptor> getOrCreateLoaderRepository()
loader-repository element with the given value will be created.
Otherwise, the existing loader-repository element will be returned.LoaderRepositoryTypeJbossDescriptor removeLoaderRepository()
loader-repository elementJbossDescriptorJbossDescriptor jmxName(String jmxName)
jmx-name elementjmxName - the value for the element jmx-nameJbossDescriptorString getJmxName()
jmx-name elementjmx-nameJbossDescriptor removeJmxName()
jmx-name elementJbossDescriptorJbossDescriptor securityDomain(String securityDomain)
security-domain elementsecurityDomain - the value for the element security-domainJbossDescriptorString getSecurityDomain()
security-domain elementsecurity-domainJbossDescriptor removeSecurityDomain()
security-domain elementJbossDescriptorJbossDescriptor missingMethodPermissionsExcludedMode(String missingMethodPermissionsExcludedMode)
missing-method-permissions-excluded-mode elementmissingMethodPermissionsExcludedMode - the value for the element missing-method-permissions-excluded-modeJbossDescriptorString getMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode elementmissing-method-permissions-excluded-modeJbossDescriptor removeMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode elementJbossDescriptorJbossDescriptor unauthenticatedPrincipal(String unauthenticatedPrincipal)
unauthenticated-principal elementunauthenticatedPrincipal - the value for the element unauthenticated-principalJbossDescriptorString getUnauthenticatedPrincipal()
unauthenticated-principal elementunauthenticated-principalJbossDescriptor removeUnauthenticatedPrincipal()
unauthenticated-principal elementJbossDescriptorJbossDescriptor jndiBindingPolicy(String jndiBindingPolicy)
jndi-binding-policy elementjndiBindingPolicy - the value for the element jndi-binding-policyJbossDescriptorString getJndiBindingPolicy()
jndi-binding-policy elementjndi-binding-policyJbossDescriptor removeJndiBindingPolicy()
jndi-binding-policy elementJbossDescriptorJbossDescriptor jaccContextId(String jaccContextId)
jacc-context-id elementjaccContextId - the value for the element jacc-context-idJbossDescriptorString getJaccContextId()
jacc-context-id elementjacc-context-idJbossDescriptor removeJaccContextId()
jacc-context-id elementJbossDescriptorWebservicesType<JbossDescriptor> getOrCreateWebservices()
webservices element with the given value will be created.
Otherwise, the existing webservices element will be returned.WebservicesTypeJbossDescriptor removeWebservices()
webservices elementJbossDescriptorEnterpriseBeansType<JbossDescriptor> getOrCreateEnterpriseBeans()
enterprise-beans element with the given value will be created.
Otherwise, the existing enterprise-beans element will be returned.EnterpriseBeansTypeJbossDescriptor removeEnterpriseBeans()
enterprise-beans elementJbossDescriptorAssemblyDescriptorType<JbossDescriptor> getOrCreateAssemblyDescriptor()
assembly-descriptor element with the given value will be created.
Otherwise, the existing assembly-descriptor element will be returned.AssemblyDescriptorTypeJbossDescriptor removeAssemblyDescriptor()
assembly-descriptor elementJbossDescriptorResourceManagersType<JbossDescriptor> getOrCreateResourceManagers()
resource-managers element with the given value will be created.
Otherwise, the existing resource-managers element will be returned.ResourceManagersTypeJbossDescriptor removeResourceManagers()
resource-managers elementJbossDescriptorJbossDescriptor version(String version)
version attributeversion - the value for the attribute versionJbossDescriptorString getVersion()
version attributeversionJbossDescriptor removeVersion()
version attributeJbossDescriptorJbossDescriptor metadataComplete(Boolean metadataComplete)
metadata-complete attributemetadataComplete - the value for the attribute metadata-completeJbossDescriptorBoolean isMetadataComplete()
metadata-complete attributemetadata-completeJbossDescriptor removeMetadataComplete()
metadata-complete attributeJbossDescriptorJbossDescriptor id(String id)
id attributeid - the value for the attribute idJbossDescriptorString getId()
id attributeidJbossDescriptor removeId()
id attributeJbossDescriptorCopyright © 2021 JBoss by Red Hat. All rights reserved.