container/events/src/main/java/org/mobicents/slee/container/event/EventContextFactoryImpl.java
public EventContext createActivityEndEventContext(ActivityContext ac,
			EventUnreferencedCallback unreferencedCallback) {
		final EventReferencesHandlerImpl referencesHandler = new EventReferencesHandlerImpl();
		final EventContextData data = dataSource.newEventContextData(
				ActivityEndEventImpl.EVENT_TYPE_ID,
				ActivityEndEventImpl.SINGLETON, ac, null, null, null, null,
				unreferencedCallback, referencesHandler);
		final EventContextImpl eventContext = new ActivityEndEventContextImpl(
				data, this);
		referencesHandler.setEventContext(eventContext);
		return eventContext;
	}
public EventContext createActivityEndEventContext(ActivityContext ac,
			EventUnreferencedCallback unreferencedCallback) {
		final EventReferencesHandlerImpl referencesHandler = new EventReferencesHandlerImpl();
		final EventContextData data = dataSource.newEventContextData(
				ActivityEndEventImpl.EVENT_TYPE_ID,
				ActivityEndEventImpl.SINGLETON, ac, null, null, null, null,
				unreferencedCallback, referencesHandler);
		final EventContextImpl eventContext = new ActivityEndEventContextImpl(
				data, this);
		referencesHandler.setEventContext(eventContext);
		return eventContext;
	}
public EventContext createActivityEndEventContext ( ActivityContext ac , EventUnreferencedCallback unreferencedCallback ) { final EventReferencesHandlerImpl referencesHandler = new EventReferencesHandlerImpl ( ) ; final EventContextData data = dataSource . newEventContextData ( ActivityEndEventImpl . EVENT_TYPE_ID , ActivityEndEventImpl . SINGLETON , ac , null , null , null , null , unreferencedCallback , referencesHandler ) ; final EventContextImpl eventContext = new ActivityEndEventContextImpl ( data , this ) ; referencesHandler . setEventContext ( eventContext ) ; return eventContext ; }
/*
(non-Javadoc)

@seeorg.mobicents.slee.container.event.EventContextFactory#
createActivityEndEventContext
(org.mobicents.slee.container.activity.ActivityContext,
org.mobicents.slee.container.event.EventUnreferencedCallback)
/ * ( non - Javadoc )