public Properties getProperties() { return buildProperties(); } }
public Properties getProperties() { return buildProperties(); } }
public Properties getProperties() { return buildProperties(); } }
public Properties getProperties() { return buildProperties(); } }
@Override public String getPropertyList() { return buildProperties().toString(); }
@Override public String getPropertyList() { return buildProperties().toString(); }
public String getPropertyList() { return buildProperties().toString(); }
public String getPropertyList() { return buildProperties().toString(); }
public void stop() { log.info("stopping service"); try { InitialContext context = NamingHelper.getInitialContext( buildProperties() ); ( (SessionFactory) context.lookup(boundName) ).close(); //context.unbind(boundName); } catch (Exception e) { log.warn("exception while stopping service", e); } }
public void stop() { log.info("stopping service"); try { InitialContext context = NamingHelper.getInitialContext( buildProperties() ); ( (SessionFactory) context.lookup(boundName) ).close(); //context.unbind(boundName); } catch (Exception e) { log.warn("exception while stopping service", e); } }
@Override public void stop() { LOG.stoppingService(); try { InitialContext context = JndiHelper.getInitialContext( buildProperties() ); ( (SessionFactory) context.lookup(boundName) ).close(); //context.unbind(boundName); } catch (Exception e) { LOG.unableToStopHibernateService(e); } }
@Override public void stop() { LOG.stoppingService(); try { InitialContext context = JndiHelper.getInitialContext( buildProperties() ); ( (SessionFactory) context.lookup(boundName) ).close(); //context.unbind(boundName); } catch (Exception e) { LOG.unableToStopHibernateService(e); } }