|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JbossDescriptor
This deployment descriptor provides the functionalities as described in the specification
Example:
JbossDescriptor descriptor = Descriptors.create(JbossDescriptor.class);
Method Summary | |
---|---|
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 |
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 |
Boolean |
isMissingMethodPermissionsExcludedMode()
Returns the missing-method-permissions-excluded-mode element |
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(Boolean 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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
---|
exportAsString, exportTo, getDescriptorName |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace |
---|
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces |
Method Detail |
---|
JbossDescriptor description(String... values)
description
elements,
a new description
element
values
- list of description
objects
JbossDescriptor
List<String> getAllDescription()
description
elements
description
JbossDescriptor removeAllDescription()
description
element
JbossDescriptor
JbossDescriptor displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
JbossDescriptor
List<String> getAllDisplayName()
display-name
elements
display-name
JbossDescriptor removeAllDisplayName()
display-name
element
JbossDescriptor
IconType<JbossDescriptor> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.
icon
IconType<JbossDescriptor> createIcon()
icon
element
IconType
List<IconType<JbossDescriptor>> getAllIcon()
icon
elements
icon
JbossDescriptor removeAllIcon()
icon
elements
IconType
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
element
JbossDescriptor
JbossDescriptor jmxName(String jmxName)
jmx-name
element
jmxName
- the value for the element jmx-name
JbossDescriptor
String getJmxName()
jmx-name
element
jmx-name
JbossDescriptor removeJmxName()
jmx-name
element
JbossDescriptor
JbossDescriptor securityDomain(String securityDomain)
security-domain
element
securityDomain
- the value for the element security-domain
JbossDescriptor
String getSecurityDomain()
security-domain
element
security-domain
JbossDescriptor removeSecurityDomain()
security-domain
element
JbossDescriptor
JbossDescriptor missingMethodPermissionsExcludedMode(Boolean missingMethodPermissionsExcludedMode)
missing-method-permissions-excluded-mode
element
missingMethodPermissionsExcludedMode
- the value for the element missing-method-permissions-excluded-mode
JbossDescriptor
Boolean isMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode
element
missing-method-permissions-excluded-mode
JbossDescriptor removeMissingMethodPermissionsExcludedMode()
missing-method-permissions-excluded-mode
element
JbossDescriptor
JbossDescriptor unauthenticatedPrincipal(String unauthenticatedPrincipal)
unauthenticated-principal
element
unauthenticatedPrincipal
- the value for the element unauthenticated-principal
JbossDescriptor
String getUnauthenticatedPrincipal()
unauthenticated-principal
element
unauthenticated-principal
JbossDescriptor removeUnauthenticatedPrincipal()
unauthenticated-principal
element
JbossDescriptor
JbossDescriptor jndiBindingPolicy(String jndiBindingPolicy)
jndi-binding-policy
element
jndiBindingPolicy
- the value for the element jndi-binding-policy
JbossDescriptor
String getJndiBindingPolicy()
jndi-binding-policy
element
jndi-binding-policy
JbossDescriptor removeJndiBindingPolicy()
jndi-binding-policy
element
JbossDescriptor
JbossDescriptor jaccContextId(String jaccContextId)
jacc-context-id
element
jaccContextId
- the value for the element jacc-context-id
JbossDescriptor
String getJaccContextId()
jacc-context-id
element
jacc-context-id
JbossDescriptor removeJaccContextId()
jacc-context-id
element
JbossDescriptor
WebservicesType<JbossDescriptor> getOrCreateWebservices()
webservices
element with the given value will be created.
Otherwise, the existing webservices
element will be returned.
WebservicesType
JbossDescriptor removeWebservices()
webservices
element
JbossDescriptor
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
element
JbossDescriptor
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
element
JbossDescriptor
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
element
JbossDescriptor
JbossDescriptor version(String version)
version
attribute
version
- the value for the attribute version
JbossDescriptor
String getVersion()
version
attribute
version
JbossDescriptor removeVersion()
version
attribute
JbossDescriptor
JbossDescriptor metadataComplete(Boolean metadataComplete)
metadata-complete
attribute
metadataComplete
- the value for the attribute metadata-complete
JbossDescriptor
Boolean isMetadataComplete()
metadata-complete
attribute
metadata-complete
JbossDescriptor removeMetadataComplete()
metadata-complete
attribute
JbossDescriptor
JbossDescriptor id(String id)
id
attribute
id
- the value for the attribute id
JbossDescriptor
String getId()
id
attribute
id
JbossDescriptor removeId()
id
attribute
JbossDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |