de.anneck.jcast
Class JCast
java.lang.Object
|
+--de.anneck.jcast.JCast
- All Implemented Interfaces:
- org.apache.avalon.framework.configuration.Configurable
- public class JCast
- extends java.lang.Object
- implements org.apache.avalon.framework.configuration.Configurable
This is the testing server for use during development.
Constructor Summary |
JCast()
|
JCast(java.lang.String configPath)
|
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
This configures a server. |
static void |
main(java.lang.String[] args)
main class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultConfigFile
public static final java.lang.String defaultConfigFile
- log4j default category
jcastConfig
public static final java.lang.String jcastConfig
jcastServerConfig
public static final java.lang.String jcastServerConfig
configPath
public java.lang.String configPath
JCast
public JCast()
JCast
public JCast(java.lang.String configPath)
main
public static void main(java.lang.String[] args)
- main class
- Parameters:
args
- Command line args
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- This configures a server.
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Parameters:
configuration
- A configuration object.- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- If a name is not found as specified, a configuration exception is thrown.