container/activities/src/main/java/org/mobicents/slee/runtime/activity/ActivityContextImpl.java
public boolean attachSbbEntity(SbbEntityID sbbEntityId) {

		boolean attached = cacheData.attachSbbEntity(sbbEntityId);
		if (attached) {
			if (acReferencesHandler != null) {
				acReferencesHandler.sbbeReferenceCreated(false);
			}
		}
		if (logger.isTraceEnabled()) {
			logger.trace("Attachement from sbb entity " + sbbEntityId
					+ " to AC " + getActivityContextHandle() + " result: "
					+ attached);
		}
		return attached;
	}
public boolean attachSbbEntity(SbbEntityID sbbEntityId) {

		boolean attached = cacheData.attachSbbEntity(sbbEntityId);
		if (attached) {
			if (acReferencesHandler != null) {
				acReferencesHandler.sbbeReferenceCreated(false);
			}
		}
		if (logger.isTraceEnabled()) {
			logger.trace("Attachement from sbb entity " + sbbEntityId
					+ " to AC " + getActivityContextHandle() + " result: "
					+ attached);
		}
		return attached;
	}
public boolean attachSbbEntity ( SbbEntityID sbbEntityId ) { boolean attached = cacheData . attachSbbEntity ( sbbEntityId ) ; if ( attached ) { if ( acReferencesHandler != null ) { acReferencesHandler . sbbeReferenceCreated ( false ) ; } } if ( logger . isTraceEnabled ( ) ) { logger . trace ( "Attachement from sbb entity " + sbbEntityId + " to AC " + getActivityContextHandle ( ) + " result: " + attached ) ; } return attached ; }
attach an sbb entity to this AC.

@param sbbEntityId
-- sbb entity to attach.
@return true if the SBB Entity is attached successfully, otherwise when
the SBB Entitiy has already been attached before, return false
attach an sbb entity to this AC .