Package org.apache.tuscany.sca.host.embedded.impl

Examples of org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime


        this.nodeName = nodeName;
             
        try {

            // create and start domainA
            nodeRuntime = new ReallySmallRuntime(cl);
            nodeRuntime.start();
                       
            // Create an in-memory domain level composite
            AssemblyFactory assemblyFactory = nodeRuntime.getAssemblyFactory();
            nodeComposite = assemblyFactory.createComposite();
View Full Code Here


     * @throws Exception
     */
    private void initRuntime() throws Exception {

        // Create a node runtime
        runtime = new ReallySmallRuntime(Thread.currentThread().getContextClassLoader());
        runtime.start();

        // Get the various factories we need
        ExtensionPointRegistry registry = runtime.getExtensionPointRegistry();
        modelFactories = registry.getExtensionPoint(ModelFactoryExtensionPoint.class);
View Full Code Here

                                              domainModel.getDomainURI() +
                                              " must be a valid url");
            }
               
            // create a runtime for the domain management services to run on
            domainManagementRuntime = new ReallySmallRuntime(domainClassLoader);
            domainManagementRuntime.start();
           
            // Configure the default server port and path
            int port = URI.create(domainModel.getDomainURI()).getPort();
            String path = URI.create(domainModel.getDomainURI()).getPath();
View Full Code Here

                                        nodeURI +
                                        " must be a valid url");
            }
           
            // create a node runtime for the domain contributions to run on
            nodeRuntime = new ReallySmallRuntime(nodeClassLoader);
            nodeRuntime.start();
           
            // get the domain builder
            domainBuilder = nodeRuntime.getDomainBuilder();           
           
View Full Code Here

        this.scaDomain = domain;
             
        try {

            // create and start domainA
            nodeRuntime = new ReallySmallRuntime(cl);
            nodeRuntime.start();
           
            // Create an in-memory domain level composite
            AssemblyFactory assemblyFactory = nodeRuntime.getAssemblyFactory();
            nodeComposite = assemblyFactory.createComposite();
View Full Code Here

                                              domainModel.getDomainURI() +
                                              "must be a valid url");
            }
               
            // create a runtime for the domain management services to run on
            domainManagementRuntime = new ReallySmallRuntime(domainClassLoader);
            domainManagementRuntime.start();
           
            // Create an in-memory domain level management composite
            AssemblyFactory assemblyFactory = domainManagementRuntime.getAssemblyFactory();
            domainManagementComposite = assemblyFactory.createComposite();
View Full Code Here

     */
    private void init() throws NodeException {
        try {
           
            // create a node runtime for the domain contributions to run on
            nodeRuntime = new ReallySmallRuntime(nodeClassLoader);
           
            // Start the runtime
            nodeRuntime.start();
           
            // Create an in-memory domain level composite
View Full Code Here

    private MonitorFactory monitorFactory;
    private Monitor monitor;
   
  public WorkspaceManagerImpl() throws ServiceRuntimeException{
        try {
            runtime = new ReallySmallRuntime(Thread.currentThread().getContextClassLoader())
           
            ExtensionPointRegistry registry = getRegistry();
           
            modelFactories = registry.getExtensionPoint(ModelFactoryExtensionPoint.class)
            artifactProcessorExtensions = registry.getExtensionPoint(URLArtifactProcessorExtensionPoint.class);
View Full Code Here

        this.serviceDiscovery = serviceDiscovery;
       
        try {

            // create and start domainA
            nodeRuntime = new ReallySmallRuntime(cl);
            nodeRuntime.start();
           
            // Create an in-memory domain level composite
            AssemblyFactory assemblyFactory = nodeRuntime.getAssemblyFactory();
            nodeComposite = assemblyFactory.createComposite();
View Full Code Here

    private void init()
      throws ActivationException {
        try {
           
            // create a node runtime for the domain contributions to run on
            nodeRuntime = new ReallySmallRuntime(domainClassLoader);
         
            // Check if node has been given a domain name to connect to
            if (isStandalone) {
              logger.log(Level.INFO, "Domain node will be started stand-alone as node and domain URIs are not provided");
              managementRuntime = null;
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime

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.