Examples of FeatureCapability


Examples of org.jboss.profileservice.profile.metadata.FeatureCapability

   protected void createWorkaroundProfile()
   {
      // FIXME
      EmptyProfileMetaData metaData = new EmptyProfileMetaData("workaround");
      List<ProfileMetaDataVisitorNode> nodes = new ArrayList<ProfileMetaDataVisitorNode>();
      nodes.add(new FeatureCapability(CommonProfileNameSpaces.PROFILE_NAMESPACE));
      nodes.add(new FeatureCapability(CommonProfileNameSpaces.IMMUTABLE_PROFILE_NAMESPACE));
      nodes.add(new FeatureCapability(CommonProfileNameSpaces.FARMING_PROFILE_NAMESPACE));
      nodes.add(new FeatureCapability(CommonProfileNameSpaces.HOTDEPLOY_PROFILE_NAMESPACE));
      metaData.setFeatures(nodes);
      profileRepository.getDomainRepository().registerMetaData(metaData);
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.