@Override @Transitions(to = DESTROYED) public void destroy() throws Exception { if (states.is(STARTED)) { stop(); } doDestroy(); this.repository = null; }
@Override @Transitions(to = DESTROYED) public void destroy() throws Exception { if (states.is(STARTED)) { stop(); } doDestroy(); this.repository = null; }