Package org.jboss.profileservice.spi.managed

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


   {
      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);
         }
      }
      return mutableProfiles;
View Full Code Here


    * @param key the profile key
    * @throws NoSuchProfileException if the profile does not exist or is not mutable
    */
   public void checkProfile(ProfileKey key) throws NoSuchProfileException
   {
      ManagedProfileConfiguration configuration = getProfileConfiguration(key);
      if(configuration == null || configuration.isDeploymentTarget() == false)
      {
         formatter.applyPattern(i18n.getString("DeploymentManager.NoMutableProfileException")); //$NON-NLS-1$
         Object[] args = { key };
         String msg = formatter.format(args);
         throw new NoSuchProfileException(msg);
View Full Code Here

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

TOP

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

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.