container/activities/src/main/java/org/mobicents/slee/runtime/activity/ActivityContextImpl.java
public void endActivity() {
		if (logger.isDebugEnabled()) {
			logger.debug("Ending activity context with handle "
					+ getActivityContextHandle());
		}
		if (cacheData.setEnding(true)) {
			fireEvent(
					sleeContainer
							.getEventContextFactory()
							.createActivityEndEventContext(
									this,
									new ActivityEndEventUnreferencedCallback(
											getActivityContextHandle(), factory)),
					sleeContainer.getTransactionManager()
							.getTransactionContext());
		}
	}
public void endActivity() {
		if (logger.isDebugEnabled()) {
			logger.debug("Ending activity context with handle "
					+ getActivityContextHandle());
		}
		if (cacheData.setEnding(true)) {
			fireEvent(
					sleeContainer
							.getEventContextFactory()
							.createActivityEndEventContext(
									this,
									new ActivityEndEventUnreferencedCallback(
											getActivityContextHandle(), factory)),
					sleeContainer.getTransactionManager()
							.getTransactionContext());
		}
	}
Ends the activity context.