@Override
    public void start(StartContext context) throws StartException {
        this.config = this.getConfigurationBuilder().build();

        EmbeddedCacheManager container = this.getCacheContainer();
        CacheMode mode = this.config.clustering().cacheMode();
        if (mode.isClustered() && (container.getCacheManagerConfiguration().transport().transport() == null)) {
            throw InfinispanMessages.MESSAGES.transportRequired(mode, this.name, container.getCacheManagerConfiguration().globalJmxStatistics().cacheManagerName());
        }

        SecurityActions.defineContainerConfiguration(container, this.name, this.config);

        log.debugf("%s cache configuration started", this.name);
    }
@ Override public void start ( StartContext context ) throws StartException { this . config = this . getConfigurationBuilder ( ) . build ( ) ; EmbeddedCacheManager container = this . getCacheContainer ( ) ; CacheMode mode = this . config . clustering ( ) . cacheMode ( ) ; if ( mode . isClustered ( ) && ( container . getCacheManagerConfiguration ( ) . transport ( ) . transport ( ) == null ) ) { throw InfinispanMessages . MESSAGES . transportRequired ( mode , this . name , container . getCacheManagerConfiguration ( ) . globalJmxStatistics ( ) . cacheManagerName ( ) ) ; } SecurityActions . defineContainerConfiguration ( container , this . name , this . config ) ; log . debugf ( "%s cache configuration started" , this . name ) ; }
{@inheritDoc}
@see org.jboss.msc.service.Service#start(org.jboss.msc.service.StartContext)