Package com.hazelcast.instance

Examples of com.hazelcast.instance.NodeExtension


            //search for jcache api jar on classpath
            final String localClassName = "javax.cache.Caching";
            ClassLoader classLoader = nodeEngine.getConfigClassLoader();
            Class theClass = ClassLoaderUtil.loadClass(classLoader, localClassName);
            if (theClass != null) {
                NodeExtension nodeExtension = nodeEngine.getNode().getNodeExtension();
                Object serviceObject = nodeExtension.createService(ICacheService.class);
                registerService(ICacheService.SERVICE_NAME, serviceObject);
            }
        } catch (ClassNotFoundException e) {
            logger.finest("javax.cache api is not detected on classpath. Skipping CacheService...");
        }
View Full Code Here

TOP

Related Classes of com.hazelcast.instance.NodeExtension

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.