container/common/src/main/java/org/mobicents/slee/runtime/facilities/ActivityContextNamingFacilityImpl.java
public void unbind(String aciName) throws NullPointerException,
            TransactionRequiredLocalException, NameNotBoundException,
            FacilityException {
        //Check if we are in the context of a transaction.
        
    	sleeContainer.getTransactionManager().mandateTransaction();

        if (aciName == null)
            throw new NullPointerException("null activity context name!");
        
        try {       
            
        	ActivityContextHandle ach = (ActivityContextHandle) cacheData.unbindName(aciName);         
            ActivityContext ac = sleeContainer.
            	getActivityContextFactory().getActivityContext(ach);
            if ( ac != null )
                ac.removeNameBinding(aciName);
            if (log.isDebugEnabled()) {
	        	log.debug("aci name "+aciName+" unbound from "+ach+" . Tx is "+sleeContainer.getTransactionManager().getTransaction());
	        }
        } catch ( NameNotBoundException ex) {
            if (log.isDebugEnabled()) {
                log.debug("Name not bound " + aciName);
            }
            throw ex;
        } catch (Exception e) {
        	throw new FacilityException("Failed to remove ac name binding from cache", e);
        }
	      
    }
public void unbind(String aciName) throws NullPointerException,
            TransactionRequiredLocalException, NameNotBoundException,
            FacilityException {
        //Check if we are in the context of a transaction.
        
    	sleeContainer.getTransactionManager().mandateTransaction();

        if (aciName == null)
            throw new NullPointerException("null activity context name!");
        
        try {       
            
        	ActivityContextHandle ach = (ActivityContextHandle) cacheData.unbindName(aciName);         
            ActivityContext ac = sleeContainer.
            	getActivityContextFactory().getActivityContext(ach);
            if ( ac != null )
                ac.removeNameBinding(aciName);
            if (log.isDebugEnabled()) {
	        	log.debug("aci name "+aciName+" unbound from "+ach+" . Tx is "+sleeContainer.getTransactionManager().getTransaction());
	        }
        } catch ( NameNotBoundException ex) {
            if (log.isDebugEnabled()) {
                log.debug("Name not bound " + aciName);
            }
            throw ex;
        } catch (Exception e) {
        	throw new FacilityException("Failed to remove ac name binding from cache", e);
        }
	      
    }
public void unbind ( String aciName ) throws NullPointerException , TransactionRequiredLocalException , NameNotBoundException , FacilityException { //Check if we are in the context of a transaction. sleeContainer . getTransactionManager ( ) . mandateTransaction ( ) ; if ( aciName == null ) throw new NullPointerException ( "null activity context name!" ) ; try { ActivityContextHandle ach = ( ActivityContextHandle ) cacheData . unbindName ( aciName ) ; ActivityContext ac = sleeContainer . getActivityContextFactory ( ) . getActivityContext ( ach ) ; if ( ac != null ) ac . removeNameBinding ( aciName ) ; if ( log . isDebugEnabled ( ) ) { log . debug ( "aci name " + aciName + " unbound from " + ach + " . Tx is " + sleeContainer . getTransactionManager ( ) . getTransaction ( ) ) ; } } catch ( NameNotBoundException ex ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "Name not bound " + aciName ) ; } throw ex ; } catch ( Exception e ) { throw new FacilityException ( "Failed to remove ac name binding from cache" , e ) ; } }
/*
(non-Javadoc)

@see javax.slee.facilities.ActivityContextNamingFacility#unbind(java.lang.String)
/ * ( non - Javadoc )