Examples of IConnectorsFactory


Examples of eu.mosaic_cloud.cloudlets.connectors.core.IConnectorsFactory

        }
      } else {
        throw (new IllegalArgumentException (ExtendedFormatter.defaultInstance.format ("error encountered while initializing cloudlet connectors factory, unexpected initializer class `%{object:class}`", initializer)));
      }
    }
    final IConnectorsFactory factory;
    try {
      factory = builder.build ();
    } catch (final Throwable exception) {
      this.exceptions.traceHandledException (exception);
      throw (new IllegalArgumentException ("error encountered while building cloudlet connectors factory", exception));
View Full Code Here

Examples of eu.mosaic_cloud.connectors.core.IConnectorsFactory

    final IConfiguration cloudletConfiguration = this.resolveCloudletConfiguration ();
    // FIXME: Currently exceptions from cloudlets are not deferred anywhere.
    //-- Thus any deferred exception should be treated as an ignored one.
    final ExceptionTracer exceptions = new CloudletExceptionTracer ();
    final ConnectorEnvironment connectorEnvironment = ConnectorEnvironment.create (this.reactor, this.threading, exceptions, this.channelFactory, this.channelResolver);
    final IConnectorsFactory connectorFactory = DefaultConnectorsFactory.create (connectorEnvironment, null);
    final CloudletEnvironment environment = CloudletEnvironment.create (cloudletConfiguration, cloudletCallbacksClass, cloudletContextClass, this.classLoader, connectorFactory, connectorEnvironment, this.componentConnector, this.reactor, this.threading, exceptions);
    final Cloudlet<?> cloudlet = Cloudlet.create (environment);
    return (cloudlet);
  }
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.