Re: Using the LocatorLauncher

2015-07-01 Thread Vinicius Carvalho
Thanks for the info Kirk. On Wed, Jul 1, 2015 at 12:56 PM John Blum wrote: > +1 for moving DistributionConfig to the public package. I prefer referring > to GemFire (System) properties using the DistributionConfig constants > rather than the actual String literal in my configuration, especially

Re: Using the LocatorLauncher

2015-07-01 Thread John Blum
+1 for moving DistributionConfig to the public package. I prefer referring to GemFire (System) properties using the DistributionConfig constants rather than the actual String literal in my configuration, especially in code. On Wed, Jul 1, 2015 at 9:47 AM, Bruce Schuchardt wrote: > Shouldn't Dis

Re: Using the LocatorLauncher

2015-07-01 Thread Bruce Schuchardt
Shouldn't DistributionConfig be moved to the public API? It seems like a pretty convenient class. Maybe that could be done when the repackaging is being done. Le 6/30/2015 8:31 PM, Kirk Lund a écrit : Yeah, the LocatorLauncher is intended to be an API for starting a Locator in your local JVM

Re: Using the LocatorLauncher

2015-06-30 Thread Kirk Lund
Yeah, the LocatorLauncher is intended to be an API for starting a Locator in your local JVM or to use as the main when starting a new JVM. You don't need to have a gemfire.properties file. You can programmatically define all of your config options at runtime and either feed them in via the Locator

Re: Using the LocatorLauncher

2015-06-30 Thread Vinicius Carvalho
Yes, I'm used to SDG, but right now I only need to start a locator, no server, no spring, just a plain locator process. On Tue, Jun 30, 2015 at 10:38 PM Will Schipp wrote: > Have you looked at the CacheServerFactoryBean in Spring-Data-Gemfire? It > supports starting a server up directly from Ja

Re: Using the LocatorLauncher

2015-06-30 Thread Will Schipp
Have you looked at the CacheServerFactoryBean in Spring-Data-Gemfire? It supports starting a server up directly from Java and may be a help if looking from a "spring" perspective. On Wednesday, July 1, 2015, Vinicius Carvalho wrote: > Hi there, is it possible to use the LocatorLauncher class t

Using the LocatorLauncher

2015-06-30 Thread Vinicius Carvalho
Hi there, is it possible to use the LocatorLauncher class to bootstrap my locators within my code, and set the hosts of other locators dynamically? I don't have multicast enabled (AWS) and I need to specify the other locators by using an EC2 discovery. I could not find a way with the class to spe