Package org.apache.tuscany.sca.domain

Examples of org.apache.tuscany.sca.domain.DomainException


            if (domainModel.getDomainURL() == null) {
              logger.log(Level.INFO, "Domain will be started stand-alone as domain URL is not provided");
            }
           
        } catch(Exception ex) {
            throw new DomainException(ex);
        }           
    }
View Full Code Here


                                              domainCompositeName +
                                              " not found on the classpath");
            }      
           
        } catch(Exception ex) {
            throw new DomainException(ex);
        }
    }   
View Full Code Here

            } catch(Exception ex) {
                logger.log(Level.SEVERE, 
                           "Can't connect to domain manager at: " +
                           domainModel.getDomainURL());
                throw new DomainException(ex);
           
        }     
    }
View Full Code Here

                domainEventService.unregisterNode(node.getURI());
            } catch(Exception ex) {
                logger.log(Level.SEVERE, 
                           "Can't connect to domain manager at: " +
                           domainModel.getDomainURL());
                throw new DomainException(ex);
            }
        } 
       
        // remove this object from the node manager service
        nodeManagerInitService.setNode(null);       
View Full Code Here

                nodeManagerInitService = null;
            }
         
        } catch (Exception ex) {
            throw new DomainException(ex);
        }
    }
View Full Code Here

    public void addContribution(String contributionURI, URL contributionURL) throws DomainException {
        if ((domainModel.getDomainURL() != null) && (domainAPIService != null)){
            domainAPIService.addContribution(contributionURI, contributionURL.toString());
        } else {
            throw new DomainException("Not connected to domain");
        }
    }
View Full Code Here

   
    public void updateContribution(String contributionURI, URL contributionURL) throws DomainException {
        if ((domainModel.getDomainURL() != null) && (domainAPIService != null)){
            domainAPIService.updateContribution(contributionURI, contributionURL.toString());
        } else {
            throw new DomainException("Not connected to domain");
        }
    }
View Full Code Here

    public void removeContribution(String contributionURI) throws DomainException {
        if ((domainModel.getDomainURL() != null) && (domainAPIService != null)){
            domainAPIService.removeContribution(contributionURI);
        } else {
            throw new DomainException("Not connected to domain");
        }
    }
View Full Code Here

   
    public void addDeploymentComposite(String contributionURI, String compositeXML) throws DomainException {
        if ((domainModel.getDomainURL() != null) && (domainAPIService != null)){
            domainAPIService.addDeploymentComposite(contributionURI, compositeXML);
        } else {
            throw new DomainException("Not connected to domain");
        }
    }
View Full Code Here

   
    public void updateDeploymentComposite(String contributionURI, String compositeXML) throws DomainException {
        if ((domainModel.getDomainURL() != null) && (domainAPIService != null)){
            domainAPIService.updateDeploymentComposite(contributionURI, compositeXML);
        } else {
            throw new DomainException("Not connected to domain");
        }      
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.domain.DomainException

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.