|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metadata.MetaData
org.jboss.metadata.OldMetaData<JBossAssemblyDescriptorMetaData>
org.jboss.metadata.AssemblyDescriptorMetaData
@Deprecated public class AssemblyDescriptorMetaData
The meta data object for the assembly-descriptor element. This implementation only contains the security-role meta data
| 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 java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssemblyDescriptorMetaData(JBossAssemblyDescriptorMetaData delegate)
delegate - the delegate
IllegalArgumentException - for a null delegateprotected AssemblyDescriptorMetaData(org.jboss.metadata.spi.MetaData metaData)
metaData - the delegate metadata
IllegalArgumentException - for a null metaData
IllegalStateException - if the metadata doesn't have an JBossAssemblyDescriptorMetaData| Method Detail |
|---|
public Map<String,SecurityRoleMetaData> getSecurityRoles()
public SecurityRoleMetaData getSecurityRoleByName(String roleName)
roleName - the role name
public Set<String> getSecurityRoleNamesByPrincipal(String userName)
userName - the user name
IllegalArgumentException - for a null role namepublic Map<String,Set<String>> getPrincipalVersusRolesMap()
public MessageDestinationMetaData getMessageDestinationMetaData(String name)
name - the name
IllegalArgumentException - for a null namepublic void addSecurityRoleMetaData(SecurityRoleMetaData srMetaData)
srMetaData - the security role metadata
UnsupportedOperationException - alwayspublic void mergeSecurityRoles(Map applRoles)
applRoles - the application roles
UnsupportedOperationException - alwayspublic void addMessageDestinationMetaData(MessageDestinationMetaData metaData)
metaData - the message destination
UnsupportedOperationException - always
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||