@Override public void raUnconfigure() { if (tracer.isInfoEnabled()) { tracer.info("Unconfigure RA Entity " + this.raContext.getEntityName()); } }
@Override public void raConfigure(ConfigProperties properties) { if (tracer.isFineEnabled()) { tracer.fine("Configuring RA Entity " + this.raContext.getEntityName()); } }
@Override public void raConfigure(ConfigProperties properties) { if (tracer.isFineEnabled()) { tracer.fine("Configuring RA Entity " + this.raContext.getEntityName()); } }
@Override public void raUnconfigure() { if (tracer.isInfoEnabled()) { tracer.info("Unconfigure RA Entity " + this.raContext.getEntityName()); } }
@Override public void raVerifyConfiguration(ConfigProperties properties) throws InvalidConfigurationException { if (tracer.isInfoEnabled()) { tracer.info("Verify configuration in RA Entity " + this.raContext.getEntityName()); } }
@Override public void raConfigure(ConfigProperties properties) { if (tracer.isFineEnabled()) { tracer.fine("Configuring RA Entity " + this.raContext.getEntityName()); } }
@Override public void raStopping() { if (tracer.isInfoEnabled()) { tracer.info("Stopping RA Entity " + this.raContext.getEntityName()); } }
@Override public void raInactive() { if (tracer.isInfoEnabled()) { tracer.info("Inactivated RA Entity " + this.raContext.getEntityName()); } }
@Override public void raVerifyConfiguration(ConfigProperties properties) throws InvalidConfigurationException { if (tracer.isInfoEnabled()) { tracer.info("Verify configuration in RA Entity " + this.raContext.getEntityName()); } }
@Override public void raInactive() { SmppManagement smscManagemet = SmppManagement.getInstance(); try { smscManagemet.stopSmppManagement(); } catch (Exception e) { tracer.severe("Error while inactivating RA Entity " + this.raContext.getEntityName(), e); } if (tracer.isInfoEnabled()) { tracer.info("Inactivated RA Entity " + this.raContext.getEntityName()); } }
@Override public void raActive() { // dbOperations_C1 = DBOperations_C1.getInstance(); // if (!this.dbOperations_C1.isStarted()) { // throw new RuntimeException("DBOperations_1 not started yet!"); // } dbOperations_C2 = DBOperations.getInstance(); if (!this.dbOperations_C2.isStarted()) { throw new RuntimeException("DBOperations_2 not started yet!"); } if (tracer.isInfoEnabled()) { tracer.info("PersistenceResourceAdaptor " + this.raContext.getEntityName() + " Activated"); } }
public void raConfigure(ConfigProperties properties) { try { if (tracer.isInfoEnabled()) { tracer.info("Configuring TCAP RA: " + this.resourceAdaptorContext.getEntityName()); } this.tcapJndi = (String) properties.getProperty(CONF_TCAP_JNDI).getValue(); } catch (Exception e) { tracer.severe("Configuring of MAP RA failed ", e); } }
public void raConfigure(ConfigProperties properties) { try { if (tracer.isInfoEnabled()) { tracer.info("Configuring CAP RA: " + this.resourceAdaptorContext.getEntityName()); } this.capJndi = (String) properties.getProperty(CONF_CAP_JNDI).getValue(); } catch (Exception e) { tracer.severe("Configuring of CAP RA failed ", e); } }
public void raConfigure(ConfigProperties properties) { try { if (tracer.isInfoEnabled()) { tracer.info("Configuring MAP RA: " + this.resourceAdaptorContext.getEntityName()); } this.mapJndi = (String) properties.getProperty(CONF_MAP_JNDI).getValue(); } catch (Exception e) { tracer.severe("Configuring of MAP RA failed ", e); } }
public void raConfigure(ConfigProperties properties) { try { if (tracer.isInfoEnabled()) { tracer.info("Configuring CAP RA: " + this.resourceAdaptorContext.getEntityName()); } this.capJndi = (String) properties.getProperty(CONF_CAP_JNDI).getValue(); } catch (Exception e) { tracer.severe("Configuring of CAP RA failed ", e); } }
public void raVerifyConfiguration(ConfigProperties configProperties) throws InvalidConfigurationException { try { if (tracer.isInfoEnabled()) { tracer.info("Verifying configuring ISUPA: " + this.raContext.getEntityName()); } this.isupJndi = (String) configProperties.getProperty(CONF_ISUP_JNDI).getValue(); if (this.isupJndi == null) { throw new InvalidConfigurationException("ISUP JNDI lookup name cannot be null"); } } catch (Exception e) { throw new InvalidConfigurationException("Failed to test configuration options!", e); } }
public void raVerifyConfiguration(ConfigProperties properties) throws InvalidConfigurationException { try { if (tracer.isInfoEnabled()) { tracer.info("Verifying configuring CAP RA: " + this.resourceAdaptorContext.getEntityName()); } this.capJndi = (String) properties.getProperty(CONF_CAP_JNDI).getValue(); if (this.capJndi == null) { throw new InvalidConfigurationException("CAP JNDI lookup name cannot be null"); } } catch (Exception e) { throw new InvalidConfigurationException("Failed to test configuration options!", e); } }
public void raConfigure(ConfigProperties configProperties) { try { if (tracer.isInfoEnabled()) { tracer.info("Configuring ISUPRA: " + this.raContext.getEntityName()); } this.isupJndi = (String) configProperties.getProperty(CONF_ISUP_JNDI).getValue(); } catch (Exception e) { tracer.severe("Configuring of ISUP RA failed ", e); } this.raProvider = new RAISUPProviderImpl(); }
public void raConfigure(ConfigProperties properties) { try { if (tracer.isInfoEnabled()) { tracer.info("Configuring MAP RA: " + this.resourceAdaptorContext.getEntityName()); } this.mapJndi = (String) properties.getProperty(CONF_MAP_JNDI).getValue(); } catch (Exception e) { tracer.severe("Configuring of MAP RA failed ", e); } ss7RAExtInterface.onRaConfigure(properties); }
@Override public void raActive() { try { SmppManagement smscManagemet = SmppManagement.getInstance(); smscManagemet.setSmppSessionHandlerInterface(this.smppServerSession.getSmppSessionHandlerInterface()); smscManagemet.startSmppManagement(); if (tracer.isInfoEnabled()) { tracer.info("Activated RA Entity " + this.raContext.getEntityName()); } } catch (Exception e) { this.tracer.severe("Failed to activate SMPP Server RA ", e); } }