final Class<?> cloudletContextClass = this.resolveCloudletStateClass ();
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);
}