this.configuration = configuration;
}
/** {@inheritDoc} */
public synchronized void start(StartContext context) throws StartException {
final JMSServerManager jmsManager = jmsServer.getValue();
try {
MockContext.pushBindingTrap();
try {
jmsManager.createConnectionFactory(false, configuration, configuration.getBindings());
} finally {
final ServiceTarget target = context.getChildTarget();
final Map<String, Object> bindings = MockContext.popTrappedBindings();
for(Map.Entry<String, Object> binding : bindings.entrySet()) {
final ContextNames.BindInfo bindInfo = ContextNames.bindInfoFor(binding.getKey());