private static void bindCacheContainer(final CacheContainer _container)
    {
        InitialContext context = null;
        try {
            context = new InitialContext();
            context.bind(InfinispanCache.KNOWN_JNDI_KEYS[0], _container);
        } catch (final NamingException ex) {
            InfinispanCache.LOG.error("Could not initialise JNDI InitialContext", ex);
        }
    }
private static void bindCacheContainer ( final CacheContainer _container ) { InitialContext context = null ; try { context = new InitialContext ( ) ; context . bind ( InfinispanCache . KNOWN_JNDI_KEYS [ 0 ] , _container ) ; } catch ( final NamingException ex ) { InfinispanCache . LOG . error ( "Could not initialise JNDI InitialContext" , ex ) ; } }
@param _container container to be binded in jndi