if (streamServerService instanceof InjectedSocketBindingStreamServerService) {
this.remotingServer = (InjectedSocketBindingStreamServerService) streamServerService;
}
// Register a EJB channel open listener
final OpenListener channelOpenListener = new ChannelOpenListener(serviceContainer);
try {
registration = endpointValue.getValue().registerService(EJB_CHANNEL_NAME, channelOpenListener, this.channelCreationOptions);
} catch (ServiceRegistrationException e) {
throw new StartException(e);
}