public static void removeSipSessionsUtil ( Context envCtx , String appName , SipSessionsUtil sipSessionsUtil ) { if ( envCtx != null ) { try { javax . naming . Context sipContext = ( javax . naming . Context ) envCtx . lookup ( SIP_SUBCONTEXT + "/" + appName ) ; sipContext . unbind ( SIP_SESSIONS_UTIL_JNDI_NAME ) ; } catch ( NamingException e ) { logger . error ( sm . getString ( "naming.unbindFailed" , e ) ) ; } } }
Removes the sip sessions util binding from the jndi mapping