com.bigdata.jini.start.config
Interface JavaServiceConfiguration.Options

All Superinterfaces:
ServiceConfiguration.Options
All Known Subinterfaces:
BigdataServiceConfiguration.Options, JiniServiceConfiguration.Options, ManagedServiceConfiguration.Options, ServicesManagerConfiguration.Options
Enclosing class:
JavaServiceConfiguration

public static interface JavaServiceConfiguration.Options
extends ServiceConfiguration.Options

Additional options understood by the JavaServiceConfiguration.

Version:
$Id$
Author:
Bryan Thompson

Field Summary
static String CLASS_NAME
          The name of the class whose main(String[] args) method will be executed.
static String CLASSPATH
          CLASSPATH components represented as a String[] that will be included in any JavaServiceConfiguration before any service specific classpath components.
static String DEFAULT_JAVA_ARGS
          Command line arguments represented as a String[] that will be interpreted as arguments to the JVM when starting a new service instance using a JavaServiceConfiguration.
static String JAVA_HOME
          The path to the java executable (optional).
static String LOG4J
          The default log4j configuration for JavaServiceConfiguration service instances.
 
Fields inherited from interface com.bigdata.jini.start.config.ServiceConfiguration.Options
ARGS, CONSTRAINTS, NAMESPACE, OPTIONS, REPLICATION_COUNT, SERVICE_COUNT, SERVICE_DIR, TIMEOUT
 

Field Detail

JAVA_HOME

static final String JAVA_HOME
The path to the java executable (optional). This may be used to specify a specific JVM on either a global or a per-service type basis.

Note: ACLs may be used to restrict who can set this property.

See Also:
Constant Field Values

DEFAULT_JAVA_ARGS

static final String DEFAULT_JAVA_ARGS
Command line arguments represented as a String[] that will be interpreted as arguments to the JVM when starting a new service instance using a JavaServiceConfiguration.

This options is only permitted as a global default (e.g., "-server" or "-ea" make sense for all JVMs).

See Also:
Constant Field Values

CLASSPATH

static final String CLASSPATH
CLASSPATH components represented as a String[] that will be included in any JavaServiceConfiguration before any service specific classpath components.

Note: When NOT specified the classpath of the current JVM will be used. If you specify ANY value for this property, then the classpath of the JVM WILL NOT be passed onto to the child process.

Note: The JVM will be started in the service directory. Therefore you MUST use absolute path names to locate files outside of that directory!

See Also:
Constant Field Values

LOG4J

static final String LOG4J
The default log4j configuration for JavaServiceConfiguration service instances. This may be overridden on a per-service type basis. It is required for BigdataServiceConfigurations.

Note: The JVM will be started in the service directory. Therefore you MUST use an absolute URL to locate the log4j configuration file!

See Also:
Constant Field Values

CLASS_NAME

static final String CLASS_NAME
The name of the class whose main(String[] args) method will be executed. This is optional and defaults to the name of the service configuration component.

See Also:
JavaServiceConfiguration.getClassName(String, Configuration), Constant Field Values


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.