Created
November 2, 2012 15:02
-
-
Save anonymous/4001868 to your computer and use it in GitHub Desktop.
Getting GlobalConfigurationBuilder based on existing infinispan.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ParserRegistry parserRegistry = new ParserRegistry(Thread.currentThread().getContextClassLoader()); | |
ConfigurationBuilderHolder cbh = parserRegistry.parse(new FileInputStream("ispn.xml")); | |
GlobalConfigurationBuilder gcb = cbh.getGlobalConfigurationBuilder(); | |
gcb.transport()... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment