|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.jini.start.config.ServiceConfiguration
com.bigdata.jini.start.config.JavaServiceConfiguration
com.bigdata.jini.start.config.ManagedServiceConfiguration
com.bigdata.jini.start.config.JiniServiceConfiguration
com.bigdata.jini.start.config.BigdataServiceConfiguration
public class BigdataServiceConfiguration
A bigdata service. Most services have additional parameters which must be specified. Those services are handled by subclasses.
| Nested Class Summary | |
|---|---|
class |
BigdataServiceConfiguration.BigdataServiceStarter<V extends JiniServiceProcessHelper>
|
static interface |
BigdataServiceConfiguration.Options
Options for the bigdata services. |
| Nested classes/interfaces inherited from class com.bigdata.jini.start.config.JiniServiceConfiguration |
|---|
JiniServiceConfiguration.JiniServiceStarter<V extends JiniServiceProcessHelper> |
| Nested classes/interfaces inherited from class com.bigdata.jini.start.config.ManagedServiceConfiguration |
|---|
ManagedServiceConfiguration.ManagedServiceStarter<V extends ProcessHelper> |
| Nested classes/interfaces inherited from class com.bigdata.jini.start.config.JavaServiceConfiguration |
|---|
JavaServiceConfiguration.JavaServiceStarter<V extends ProcessHelper> |
| Nested classes/interfaces inherited from class com.bigdata.jini.start.config.ServiceConfiguration |
|---|
ServiceConfiguration.AbstractServiceStarter<V extends ProcessHelper> |
| Field Summary |
|---|
| Fields inherited from class com.bigdata.jini.start.config.JiniServiceConfiguration |
|---|
entries, groups, jiniOptions, locators, properties |
| Fields inherited from class com.bigdata.jini.start.config.JavaServiceConfiguration |
|---|
classpath, defaultJavaArgs, javaHome, log4j |
| Fields inherited from class com.bigdata.jini.start.config.ServiceConfiguration |
|---|
args, className, constraints, log, options, replicationCount, serviceCount, serviceDir, timeout |
| Constructor Summary | |
|---|---|
BigdataServiceConfiguration(Class<? extends AbstractServer> cls,
net.jini.config.Configuration config)
|
|
| Method Summary | |
|---|---|
BigdataServiceConfiguration.BigdataServiceStarter |
newServiceStarter(JiniFederation fed,
IServiceListener listener,
String logicalServiceZPath,
net.jini.core.entry.Entry[] attributes)
Factory method returns an object that may be used to (re-)start a service. |
protected void |
toString(StringBuilder sb)
May be extended to add more properties to the ServiceConfiguration.toString()
representation. |
| Methods inherited from class com.bigdata.jini.start.config.JiniServiceConfiguration |
|---|
getJiniOptions |
| Methods inherited from class com.bigdata.jini.start.config.ManagedServiceConfiguration |
|---|
newLogicalServiceTask, newServiceStarter |
| Methods inherited from class com.bigdata.jini.start.config.JavaServiceConfiguration |
|---|
getClassName, getClasspath, getDefaultJavaArgs, getJavaHome, getLog4j |
| Methods inherited from class com.bigdata.jini.start.config.ServiceConfiguration |
|---|
canStartService, canStartService, concat, getArgs, getClassPath, getConstraints, getDefaultTimeout, getOptions, getReplicationCount, getServiceCount, getServiceDir, getStringArray, getTimeout, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BigdataServiceConfiguration(Class<? extends AbstractServer> cls,
net.jini.config.Configuration config)
throws net.jini.config.ConfigurationException
cls - config -
net.jini.config.ConfigurationException| Method Detail |
|---|
protected void toString(StringBuilder sb)
ServiceConfigurationServiceConfiguration.toString()
representation.
toString in class JiniServiceConfiguration
public BigdataServiceConfiguration.BigdataServiceStarter newServiceStarter(JiniFederation fed,
IServiceListener listener,
String logicalServiceZPath,
net.jini.core.entry.Entry[] attributes)
throws Exception
ManagedServiceConfiguration
newServiceStarter in class JiniServiceConfigurationlogicalServiceZPath - The path to the logical service whose instance will be
started.attributes - This provides the information required to restart a persistent
service. When not given a new service instance will be
started. When given, the same service instance will be
restarted.
Exception - if there is a problem creating the service starter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||