container/activities/src/main/java/org/mobicents/slee/runtime/activity/ActivityContextImpl.java
public void fireEvent(EventTypeID eventTypeId, Object event,
			Address address, ServiceID serviceID,
			EventProcessingSucceedCallback succeedCallback,
			EventProcessingFailedCallback failedCallback,
			EventUnreferencedCallback unreferencedCallback)
			throws ActivityIsEndingException, SLEEException {

		if (isEnding()) {
			throw new ActivityIsEndingException(getActivityContextHandle()
					.toString());
		}

		if (acReferencesHandler != null) {
			acReferencesHandler.eventReferenceCreated();
		}

		fireEvent(
				sleeContainer.getEventContextFactory().createEventContext(
						eventTypeId, event, this, address, serviceID,
						succeedCallback, failedCallback, unreferencedCallback),
				sleeContainer.getTransactionManager().getTransactionContext());
	}
public void fireEvent(EventTypeID eventTypeId, Object event,
			Address address, ServiceID serviceID,
			EventProcessingSucceedCallback succeedCallback,
			EventProcessingFailedCallback failedCallback,
			EventUnreferencedCallback unreferencedCallback)
			throws ActivityIsEndingException, SLEEException {

		if (isEnding()) {
			throw new ActivityIsEndingException(getActivityContextHandle()
					.toString());
		}

		if (acReferencesHandler != null) {
			acReferencesHandler.eventReferenceCreated();
		}

		fireEvent(
				sleeContainer.getEventContextFactory().createEventContext(
						eventTypeId, event, this, address, serviceID,
						succeedCallback, failedCallback, unreferencedCallback),
				sleeContainer.getTransactionManager().getTransactionContext());
	}
/*
(non-Javadoc)

@see
org.mobicents.slee.container.activity.ActivityContext#fireEvent(javax
.slee.EventTypeID, java.lang.Object, javax.slee.Address,
javax.slee.ServiceID,
org.mobicents.slee.container.event.EventProcessingSucceedCallback,
org.mobicents.slee.container.event.EventProcessingFailedCallback,
org.mobicents.slee.container.event.EventUnreferencedCallback)