|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.wasp.Wasp
Wasp
instead.
Implementation of this abstract class must boot and shut down
WSO2 SOA Enablement Server. This implementation class is passed in
initialArguments
map - wasp.impl.class
or
it's com.idoox.wasp.WaspImpl
.
Constructor Summary | |
protected |
Wasp()
Deprecated. |
Method Summary | |
protected abstract void |
boot(java.util.Map initialArguments,
java.lang.ClassLoader ifaceClassLoader,
java.lang.ClassLoader implClassLoader)
Deprecated. Loads configurator and all necessary modules. |
static void |
destroy()
Deprecated. Destroys WSO2 SOA Enablement Server. |
static void |
init()
Deprecated. Initializes WSO2 SOA Enablement Server with default settings only. |
static void |
init(java.util.Map initialArguments)
Deprecated. Initializes WSO2 SOA Enablement Server with given arguments. |
protected abstract void |
shutdown()
Deprecated. Unloads all loaded modules. |
static Transport |
start(java.lang.String endpoint)
Deprecated. Starts server on given endpoint. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Wasp()
Method Detail |
public static void init() throws WaspInternalException
WaspInternalException
public static void init(java.util.Map initialArguments) throws WaspInternalException
META-INF/wasp.properties
property file which is
loaded as resource from class loader. If the argument isn't in
this file, the default value is taken - parameter in brackets.
Possible arguments:
wasp.location
- installed location
wasp.config.location
- relative (to wasp.location) path of
configuration file (conf/clientconf.xml)
wasp.config.include
- list of additional configs to
include, delimited by commas
wasp.configurator.class
- which org.idoox.config.Configurator
implementation is used (com.idoox.config.xml.XMLConfigurator
)
idoox.debug.level
- determines the number of logging messages
(client - 2, server - 3)
idoox.debug.logger
- specifies logging system, e.g. log4j,
if you do not want to use log4j set this property to waspLogger
log4j.configuration
- specifies path to the property
configuration file for lo4j
. If it contains relarive path then
it will be evaluated relatively to wasp.location
wasp.impl.class
- determines the implementation of
org.idoox.wasp.Wasp
(com.idoox.wasp.WaspImpl
)
wasp.impl.classpath
- classpath of WSO2 SOA Enablement Server implementation
wasp.shutdownhook
- if true WSO2 SOA Enablement Server should be automatically destroyed
just before JVM is destroyed, false - if client wants to manage shutdown process.
Level of logging can be: 0 - none, 1 - errors, 2 - warnings, 3 - infos, 4 - debugs (it must be non-stripped distribution).
initialArguments
- map of initial arguments
WaspInternalException
public static void destroy()
public static Transport start(java.lang.String endpoint) throws TransportStartException, java.net.MalformedURLException
https
(starts
HTTPS server on port from configuration or it is a string like
http://googoo:8080/wasp/
which means that HTTP
server should be started on port 8080
. The
endpoint string is passed to
Transport.start(URI)
method.
endpoint
- address where to start server
TransportStartException
java.net.MalformedURLException
Transport.start(org.idoox.transport.URI)
protected abstract void boot(java.util.Map initialArguments, java.lang.ClassLoader ifaceClassLoader, java.lang.ClassLoader implClassLoader) throws WaspInternalException
initialArguments
- map of initial argumentsifaceClassLoader
- interface class loaderimplClassLoader
- implementation class loader
WaspInternalException
protected abstract void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |