newControllers.add( context.getServiceTarget().addService( managedFactoryServiceName, managementService )
.addDependency( getJMSConnectionFactoryServiceName(), ManagedReferenceFactory.class, managementService.getManagedReferenceFactoryInjector() )
.addListener( verificationHandler )
.install() );
RubyXaConnectionFactoryService service = new RubyXaConnectionFactoryService();
newControllers.add( context.getServiceTarget().addService( MessagingServices.RUBY_XA_CONNECTION_FACTORY, service )
.addDependency( managedFactoryServiceName, HornetQConnectionFactory.class, service.getConnectionFactoryInjector() )
.addListener( verificationHandler )
.setInitialMode( Mode.ON_DEMAND )
.install() );
}