@Override public void setSbbContext(SbbContext arg0) { sbbContextExt = (SbbContextExt) arg0; if (tracer == null) tracer = sbbContextExt.getTracer(getClass().getSimpleName()); jdbcRA = (JdbcResourceAdaptorSbbInterface) this.sbbContextExt .getResourceAdaptorInterface(jdbcRATypeID, jdbcRALink); jdbcACIF = (JdbcActivityContextInterfaceFactory) this.sbbContextExt .getActivityContextInterfaceFactory(jdbcRATypeID); }
public void setSbbContext(SbbContext context) { sbbContext = (SbbContextExt) context; if (tracer == null) { tracer = this.sbbContext.getTracer("RESTClientEnabler"); } this.httpClientActivityContextInterfaceFactory = (HttpClientActivityContextInterfaceFactory) sbbContext .getActivityContextInterfaceFactory(HttpClientActivityContextInterfaceFactory.RESOURCE_ADAPTOR_TYPE_ID); this.httpProvider = (HttpClientResourceAdaptorSbbInterface) sbbContext .getResourceAdaptorInterface( HttpClientResourceAdaptorSbbInterface.RESOURCE_ADAPTOR_TYPE_ID, "HttpClientResourceAdaptor"); }
public void setSbbContext(SbbContext context) { sbbContext = (SbbContextExt) context; if (tracer == null) { tracer = this.sbbContext.getTracer("RESTClientEnabler"); } this.httpClientActivityContextInterfaceFactory = (HttpClientActivityContextInterfaceFactory) sbbContext .getActivityContextInterfaceFactory(HttpClientActivityContextInterfaceFactory.RESOURCE_ADAPTOR_TYPE_ID); this.httpProvider = (HttpClientResourceAdaptorSbbInterface) sbbContext .getResourceAdaptorInterface( HttpClientResourceAdaptorSbbInterface.RESOURCE_ADAPTOR_TYPE_ID, "HttpClientResourceAdaptor"); }
@Override public void setSbbContext(SbbContext context) { sbbContextExt = (SbbContextExt) context; if (tracer == null) { tracer = sbbContextExt.getTracer("CS-JDBC"); } jdbcRA = (JdbcResourceAdaptorSbbInterface) this.sbbContextExt.getResourceAdaptorInterface(jdbcRATypeID, jdbcRALink); jdbcACIF = (JdbcActivityContextInterfaceFactory) this.sbbContextExt.getActivityContextInterfaceFactory(jdbcRATypeID); }
public void setSbbContext(SbbContext sbbContext) { this.sbbContext = (SbbContextExt) sbbContext; this.logger = sbbContext.getTracer(this.loggerName); try { mapAcif = (MAPContextInterfaceFactory) this.sbbContext.getActivityContextInterfaceFactory(mapRATypeID); mapProvider = (MAPProvider) this.sbbContext.getResourceAdaptorInterface(mapRATypeID, mapRaLink); mapParameterFactory = mapProvider.getMAPParameterFactory(); } catch (Exception ne) { logger.severe("Could not set SBB context:", ne); } }
public void setSbbContext(SbbContext sbbContext) { this.sbbContext = (SbbContextExt) sbbContext; this.logger = sbbContext.getTracer("CAMEL-GW"); this.eventsSerializeFactory = new EventsSerializeFactory(); // CAP RA this.capAcif = (CAPContextInterfaceFactory) this.sbbContext.getActivityContextInterfaceFactory(capRATypeID); this.capProvider = (CAPProvider) this.sbbContext.getResourceAdaptorInterface(capRATypeID, capRaLink); this.capParameterFactory = this.capProvider.getCAPParameterFactory(); // HTTP-Client RA this.httpClientActivityContextInterfaceFactory = (HttpClientActivityContextInterfaceFactory) this.sbbContext .getActivityContextInterfaceFactory(httpClientRATypeID); this.httpClientProvider = (HttpClientResourceAdaptorSbbInterface) this.sbbContext.getResourceAdaptorInterface( httpClientRATypeID, httpClientRaLink); camelStatAggregator = CamelStatAggregator.getInstance(); this.timerFacility = this.sbbContext.getTimerFacility(); }
public void setSbbContext(SbbContext sbbContext) { this.sbbContext = (SbbContextExt) sbbContext; this.logger = sbbContext.getTracer(this.loggerName); try { mapAcif = (MAPContextInterfaceFactory) this.sbbContext.getActivityContextInterfaceFactory(mapRATypeID); mapProvider = (MAPProvider) this.sbbContext.getResourceAdaptorInterface(mapRATypeID, mapRaLink); mapParameterFactory = mapProvider.getMAPParameterFactory(); } catch (Exception ne) { logger.severe("Could not set SBB context:", ne); } }
public void setSbbContext(SbbContext context) { sbbContext = (SbbContextExt) context; sipActivityContextInterfaceFactory = (SipActivityContextInterfaceFactory) sbbContext .getActivityContextInterfaceFactory(sipRATypeID); sleeSipProvider = (SleeSipProvider) sbbContext .getResourceAdaptorInterface(sipRATypeID, sipRALink); addressFactory = sleeSipProvider.getAddressFactory(); headerFactory = sleeSipProvider.getHeaderFactory(); messageFactory = sleeSipProvider.getMessageFactory(); timerFacility = sbbContext.getTimerFacility(); }
this.sipActivityContextInterfaceFactory = (SipActivityContextInterfaceFactory) this.sbbContext.getActivityContextInterfaceFactory(sipResourceAdaptorTypeID); this.sleeSipProvider = (SleeSipProvider) this.sbbContext.getResourceAdaptorInterface(sipResourceAdaptorTypeID, "SipRA");