builderCreate.addDependency( ServicesServices.serviceComponentResolver( unit, serviceMetaData.getName() ), ComponentResolver.class, serviceCreate.getComponentResolverInjector() );
builderCreate.addDependency( CoreServices.runtimePoolName( unit, "services" ), RestartableRubyRuntimePool.class, serviceCreate.getRubyRuntimePoolInjector() );
builderCreate.setInitialMode( Mode.PASSIVE );
builderCreate.install();
RubyServiceStart serviceStart = new RubyServiceStart();
ServiceBuilder<RubyService> builderStart = phaseContext.getServiceTarget().addService( serviceStartName, serviceStart );
builderStart.addDependency( serviceCreateName, RubyService.class, serviceStart.getRubyServiceInjector() );
if ( serviceMetaData.isRequiresSingleton() ) {
builderStart.addDependency( HASingleton.serviceName( unit, "global" ) );
}