Examples of CSGProxyService


Examples of org.wso2.carbon.cloud.csg.CSGProxyService

     *
     * @param metaData meta data associated with this proxy
     * @throws CSGException throws in case of an error
     */
    public void deployProxy(ServiceMetaData metaData) throws CSGException {
        CSGProxyService csgProxyService = new CSGProxyServiceConfigLayer().getCSGServiceProxy();
        if (csgProxyService.create(metaData)) {
            if (log.isDebugEnabled()) {
                log.debug("Proxy service,'" + metaData.getServiceName() + "Proxy" + "'" +
                        " deployed successfully");
            }
        } else {
View Full Code Here

Examples of org.wso2.carbon.cloud.csg.CSGProxyService

     *
     * @param serviceName the name of the proxy to undeploy
     * @throws CSGException thows in case of an error
     */
    public void unDeployProxy(String serviceName) throws CSGException {
        CSGProxyService csgProxyService = new CSGProxyServiceConfigLayer().getCSGServiceProxy();
        if (csgProxyService.destroy(serviceName)) {
            if (log.isDebugEnabled()) {
                log.info("Proxy service, '" + serviceName + "Proxy" + "'" +
                        " un-deployed successfully");
            }
        } else {
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.