public class SimpleInteractiveLoader extends AbstractConfigurationLoader implements SessionConfigurationLoader
CycServerPanel.| Constructor and Description |
|---|
SimpleInteractiveLoader() |
| Modifier and Type | Method and Description |
|---|---|
com.cyc.session.CycSessionConfiguration |
getConfiguration()
Returns a new CycSessionConfiguration.
|
String |
getName()
The convenience name of this implementation, making it easier to specify a particular
configuration loader in System properties (or properties files, or whatever.) This name may be
almost anything, but should be reasonably descriptive: "interactive," "default-properties,"
etc.
|
boolean |
isCapableOfSuccess()
Whether the SessionConfigurationLoader believes it has a chance of success.
|
protected com.cyc.session.CycAddress |
obtainCycServer() |
getEnvironment, setEnvironment, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetEnvironmentpublic static final String NAME
public String getName()
SessionConfigurationLoader
Names may only consist of alphanumeric character, underscores, and hyphens (i.e.,
/^[a-zA-Z0-9-_]+$/). Spaces are now allowed.
getName in interface SessionConfigurationLoaderpublic com.cyc.session.CycSessionConfiguration getConfiguration()
throws com.cyc.session.exception.SessionConfigurationException
SessionConfigurationLoader
Note that SessionConfigurationLoader.setEnvironment(com.cyc.session.EnvironmentConfiguration) must be called
sometime before calling this method.
getConfiguration in interface SessionConfigurationLoadercom.cyc.session.exception.SessionConfigurationException - if configuration parameters are obviously malformed.
However, the configuration loader may allow missing or empty parameters at its
discretion.public boolean isCapableOfSuccess()
SessionConfigurationLoaderfalse when being executed in a headless environment.isCapableOfSuccess in interface SessionConfigurationLoaderprotected com.cyc.session.CycAddress obtainCycServer()
Copyright © 2013–2018 Cycorp, Inc.. All rights reserved.