org.jboss.metadata
Class AssemblyDescriptorMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.OldMetaData<JBossAssemblyDescriptorMetaData>
          extended by org.jboss.metadata.AssemblyDescriptorMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

Deprecated.

@Deprecated
public class AssemblyDescriptorMetaData
extends OldMetaData<JBossAssemblyDescriptorMetaData>

The meta data object for the assembly-descriptor element. This implementation only contains the security-role meta data

Version:
$Revision: 40750 $
Author:
Thomas.Diesler@jboss.org, Adrian Brock

Field Summary
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
  AssemblyDescriptorMetaData(JBossAssemblyDescriptorMetaData delegate)
          Deprecated. Create a new AssemblyDescriptorMetaData.
protected AssemblyDescriptorMetaData(org.jboss.metadata.spi.MetaData metaData)
          Deprecated. Create a new AssemblyDescriptorMetaData.
 
Method Summary
 void addMessageDestinationMetaData(MessageDestinationMetaData metaData)
          Deprecated. Add a message destination
 void addSecurityRoleMetaData(SecurityRoleMetaData srMetaData)
          Deprecated. Add security role metadata
 MessageDestinationMetaData getMessageDestinationMetaData(String name)
          Deprecated. Get a message destination by name
 Map<String,Set<String>> getPrincipalVersusRolesMap()
          Deprecated. Generate a Map of Principal keyed against a set of role names
 SecurityRoleMetaData getSecurityRoleByName(String roleName)
          Deprecated. Get a security role by role name
 Set<String> getSecurityRoleNamesByPrincipal(String userName)
          Deprecated. Get the security role names by principal
 Map<String,SecurityRoleMetaData> getSecurityRoles()
          Deprecated. Get the security roles
 void mergeSecurityRoles(Map applRoles)
          Deprecated. Merge the security role/principal mapping defined in jboss.xml with the one defined at jboss-app.xml.
 
Methods inherited from class org.jboss.metadata.OldMetaData
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssemblyDescriptorMetaData

public AssemblyDescriptorMetaData(JBossAssemblyDescriptorMetaData delegate)
Deprecated. 
Create a new AssemblyDescriptorMetaData.

Parameters:
delegate - the delegate
Throws:
IllegalArgumentException - for a null delegate

AssemblyDescriptorMetaData

protected AssemblyDescriptorMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. 
Create a new AssemblyDescriptorMetaData.

Parameters:
metaData - the delegate metadata
Throws:
IllegalArgumentException - for a null metaData
IllegalStateException - if the metadata doesn't have an JBossAssemblyDescriptorMetaData
Method Detail

getSecurityRoles

public Map<String,SecurityRoleMetaData> getSecurityRoles()
Deprecated. 
Get the security roles

Returns:
the security roles

getSecurityRoleByName

public SecurityRoleMetaData getSecurityRoleByName(String roleName)
Deprecated. 
Get a security role by role name

Parameters:
roleName - the role name
Returns:
the role

getSecurityRoleNamesByPrincipal

public Set<String> getSecurityRoleNamesByPrincipal(String userName)
Deprecated. 
Get the security role names by principal

Parameters:
userName - the user name
Returns:
the role name
Throws:
IllegalArgumentException - for a null role name

getPrincipalVersusRolesMap

public Map<String,Set<String>> getPrincipalVersusRolesMap()
Deprecated. 
Generate a Map of Principal keyed against a set of role names

Returns:

getMessageDestinationMetaData

public MessageDestinationMetaData getMessageDestinationMetaData(String name)
Deprecated. 
Get a message destination by name

Parameters:
name - the name
Returns:
the destination
Throws:
IllegalArgumentException - for a null name

addSecurityRoleMetaData

public void addSecurityRoleMetaData(SecurityRoleMetaData srMetaData)
Deprecated. 
Add security role metadata

Parameters:
srMetaData - the security role metadata
Throws:
UnsupportedOperationException - always

mergeSecurityRoles

public void mergeSecurityRoles(Map applRoles)
Deprecated. 
Merge the security role/principal mapping defined in jboss.xml with the one defined at jboss-app.xml.

Parameters:
applRoles - the application roles
Throws:
UnsupportedOperationException - always

addMessageDestinationMetaData

public void addMessageDestinationMetaData(MessageDestinationMetaData metaData)
Deprecated. 
Add a message destination

Parameters:
metaData - the message destination
Throws:
UnsupportedOperationException - always


Copyright © 2009 JBoss Inc.. All Rights Reserved.