Package org.jboss.resource.metadata.mcf

Examples of org.jboss.resource.metadata.mcf.SecurityDeploymentType


         CompositeMetaType composite = (CompositeMetaType) metaType;
         EnumMetaType enumMetaType= (EnumMetaType) composite.getType(DeploymentTypeName);
         // Create the composite value
         CompositeValueSupport securityDomain = new CompositeValueSupport(composite);
         // Set a default deplooymentType
         SecurityDeploymentType deploymentType = object.getSecurityDeploymentType();
         if(deploymentType == null)
            deploymentType = SecurityDeploymentType.NONE;
        
         // Set domain and deployment type
         securityDomain.set(DOMAIN, SimpleValueSupport.wrap(object.getDomain()));
View Full Code Here


      if(metaValue instanceof CompositeValue)
      {
         CompositeValue compositeValue = (CompositeValue) metaValue;

         String domainName = (String) metaValueFactory.unwrap(compositeValue.get(DOMAIN));        
         SecurityDeploymentType deploymentType = (SecurityDeploymentType) metaValueFactory.unwrap(compositeValue.get(DeploymentTypeName));
         if(deploymentType == null)
            deploymentType = SecurityDeploymentType.NONE;
        
         SecurityMetaData securityDomain = null;
         switch(deploymentType)
View Full Code Here

TOP

Related Classes of org.jboss.resource.metadata.mcf.SecurityDeploymentType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.