container/services/src/main/java/org/mobicents/slee/runtime/sbbentity/SbbEntityImpl.java
public void assignSbbObject() throws Exception {
		
		try {
			// get one object from the pool
			this.sbbObject = getObjectPool().borrowObject();
			// invoke the appropriate sbb life-cycle methods
			this.sbbObject.setSbbEntity(this);
			if (created) {
				this.sbbObject.sbbCreate();
				this.sbbObject.setState(SbbObjectState.READY);
				this.sbbObject.sbbPostCreate();
			}
			else {
				this.sbbObject.sbbActivate();
				this.sbbObject.setState(SbbObjectState.READY);
			}
			this.sbbObject.sbbLoad();
		} catch (Exception e) {
			log.error("Failed to assign and create sbb object", e);
			if (created) {
				removeFromCache();
			}
			throw e;
		}
	}
public void assignSbbObject() throws Exception {
		
		try {
			// get one object from the pool
			this.sbbObject = getObjectPool().borrowObject();
			// invoke the appropriate sbb life-cycle methods
			this.sbbObject.setSbbEntity(this);
			if (created) {
				this.sbbObject.sbbCreate();
				this.sbbObject.setState(SbbObjectState.READY);
				this.sbbObject.sbbPostCreate();
			}
			else {
				this.sbbObject.sbbActivate();
				this.sbbObject.setState(SbbObjectState.READY);
			}
			this.sbbObject.sbbLoad();
		} catch (Exception e) {
			log.error("Failed to assign and create sbb object", e);
			if (created) {
				removeFromCache();
			}
			throw e;
		}
	}
public void assignSbbObject ( ) throws Exception { try { // get one object from the pool this . sbbObject = getObjectPool ( ) . borrowObject ( ) ; // invoke the appropriate sbb life-cycle methods this . sbbObject . setSbbEntity ( this ) ; if ( created ) { this . sbbObject . sbbCreate ( ) ; this . sbbObject . setState ( SbbObjectState . READY ) ; this . sbbObject . sbbPostCreate ( ) ; } else { this . sbbObject . sbbActivate ( ) ; this . sbbObject . setState ( SbbObjectState . READY ) ; } this . sbbObject . sbbLoad ( ) ; } catch ( Exception e ) { log . error ( "Failed to assign and create sbb object" , e ) ; if ( created ) { removeFromCache ( ) ; } throw e ; } }
/*
(non-Javadoc)
@see org.mobicents.slee.runtime.sbbentity.SbbEntity#assignSbbObject()
/ * ( non - Javadoc )