Package org.jboss.profileservice.spi.managed

Examples of org.jboss.profileservice.spi.managed.ManagedProfile


   public Collection<ProfileKey> getProfiles()
   {
      List<ProfileKey> mutableProfiles = new ArrayList<ProfileKey>();
      for(ProfileKey key : getActionController().getActiveProfiles())
      {
         ManagedProfile managed = getActionController().getManagedProfile(key);
         ManagedProfileConfiguration configuration = managed != null ? managed.getConfiguration() : null;
         if(configuration != null && configuration.isDeploymentTarget())
         {
            mutableProfiles.add(key);
         }
      }
View Full Code Here


      return targets;
   }
  
   ManagedProfileConfiguration getProfileConfiguration(ProfileKey key)
   {
      ManagedProfile managed = getActionController().getManagedProfile(key);
      ManagedProfileConfiguration configuration = managed != null ? managed.getConfiguration() : null;
      return configuration;
   }
View Full Code Here

         return;
      }

      for (ProfileKey key : activeProfiles)
      {
         ManagedProfile managed = actionController.getManagedProfile(key);
         // Check if it's a mutable profile
         if (managed != null && managed.getProfile().isMutable() == false)
         {
            if (trace)
               log.trace("Ignoring not mutable profile: " + key);
            continue;
         }
         MutableProfile activeProfile = MutableProfile.class.cast(managed.getProfile());
         ManagedProfileDeployer deployer = managed.getManagedDeployer();
       
         Collection<ModificationInfo> modifiedDeployments = activeProfile.getModifiedDeployments();
         Collection<String> checkNames = new ArrayList<String>();
         for (ModificationInfo info : modifiedDeployments)
         {
View Full Code Here

    * @return the deployment urls.
    */
   public String[] listDeployedURLs() {
      final Collection<String> names = new HashSet<String>();
      for(final ProfileKey key : actionController.getActiveProfiles()) {
        final ManagedProfile managed = actionController.getManagedProfile(key);
        final Profile profile = managed.getProfile();
        final Set<String> deploymentNames = profile.getDeploymentNames();
        if(deploymentNames != null && deploymentNames.isEmpty() == false) {
          names.addAll(deploymentNames)
        }
      }
View Full Code Here

TOP

Related Classes of org.jboss.profileservice.spi.managed.ManagedProfile

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.