@Override
    protected void onInitialize()
    {
        ConfigurationBuilder builder = new ConfigurationBuilder();
        ClassLoader loader = Thread.currentThread().getContextClassLoader();
        Configuration config = builder.classLoader(loader).addServers(this.targetServer).build();

        this.clientManager = new RemoteCacheManager(config, true);
        this.stateCache = this.clientManager.getCache(this.cacheName);
        this.txIdCache = this.clientManager.getCache(this.cacheName);
    }
@ Override protected void onInitialize ( ) { ConfigurationBuilder builder = new ConfigurationBuilder ( ) ; ClassLoader loader = Thread . currentThread ( ) . getContextClassLoader ( ) ; Configuration config = builder . classLoader ( loader ) . addServers ( this . targetServer ) . build ( ) ; this . clientManager = new RemoteCacheManager ( config , true ) ; this . stateCache = this . clientManager . getCache ( this . cacheName ) ; this . txIdCache = this . clientManager . getCache ( this . cacheName ) ; }
{@inheritDoc}