Package org.jboss.portal.identity.metadata.service

Examples of org.jboss.portal.identity.metadata.service.ModuleServiceMetaData


   {

      for (Iterator iterator = modules.iterator(); iterator.hasNext();)
      {

         ModuleServiceMetaData moduleService = (ModuleServiceMetaData)iterator.next();
         ModuleMetaData module = moduleService.getModuleData();
        
         String entryName = "portal:identity=Module,type=" + module.getType();
         AbstractBeanMetaData moduleBMD = new AbstractBeanMetaData(entryName,
            module.getClassName());
         AbstractPropertyMetaData propertyBMD = new AbstractPropertyMetaData("identityContext", identityContext);
         moduleBMD.addProperty(propertyBMD);
         propertyBMD = new AbstractPropertyMetaData("jndiBinder", getServiceJNDIBinder());
         moduleBMD.addProperty(propertyBMD);

         //initiate parameters from <config>
         for (Iterator iterator1 = moduleService.getModuleOptions().keySet().iterator(); iterator1.hasNext();)
         {
            String propertyKey = (String)iterator1.next();
            String propertyValue = (String)moduleService.getModuleOptions().get(propertyKey);
            //if (log.isDebugEnabled()) log.debug("adding parameter: " + propertyKey + " ; " + propertyValue);
            propertyBMD = new AbstractPropertyMetaData(propertyKey, propertyValue);
            moduleBMD.addProperty(propertyBMD);
         }
View Full Code Here

TOP

Related Classes of org.jboss.portal.identity.metadata.service.ModuleServiceMetaData

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.