Package org.apache.stratos.cloud.controller.validate.interfaces

Examples of org.apache.stratos.cloud.controller.validate.interfaces.PartitionValidator


                throw new InvalidPartitionException(msg, e);
            }
           
        }

        PartitionValidator validator = iaas.getPartitionValidator();
        validator.setIaasProvider(iaasProvider);
        validator.validate(partition.getId(),
                           CloudControllerUtil.toJavaUtilProperties(partition.getProperties()));
       
        return true;
    }
View Full Code Here


                throw new InvalidPartitionException(msg, e);
            }
           
        }
       
        PartitionValidator validator = iaas.getPartitionValidator();
        validator.setIaasProvider(iaasProvider);
        IaasProvider updatedIaasProvider =
                                           validator.validate(partition.getId(),
                                                              CloudControllerUtil.toJavaUtilProperties(partition.getProperties()));
       
        if (log.isDebugEnabled()) {
          log.debug("Partition "+partition.toString()+ " is validated successfully "
              + "against the Cartridge: "+cartridge.getType());
View Full Code Here

TOP

Related Classes of org.apache.stratos.cloud.controller.validate.interfaces.PartitionValidator

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.