janus.web.service
Class ProxyService

java.lang.Object
  extended by janus.web.config.PropertyConfig
      extended by janus.web.service.Service
          extended by janus.web.service.ServerLoopService
              extended by janus.web.service.ProxyService
All Implemented Interfaces:
ExceptionListener

public class ProxyService
extends ServerLoopService

Server-Dienst, der einen Proxy-Server implementiert

See Also:
ProxyServer

Field Summary
protected  boolean autorelease
          Autorelease-Flag
static boolean DEFAULT_AUTORELEASE
           
static String DEFAULT_POOL
           
static int DEFAULT_PORT
           
static int DEFAULT_TIMEOUT
           
protected  String pool
          Connection-Pool
protected  int timeout
          Timeout für ConnectionPool.getConnection()
 
Fields inherited from class janus.web.service.ServerLoopService
address, DEFAULT_ADDRESS, loop, port, serverClass
 
Fields inherited from class janus.web.service.Service
active, debug, debugStream, DEFAULT_ACTIVE, DEFAULT_DEBUG, DEFAULT_PACKAGE, errorlog, log, status, toStringParameters, TRACE
 
Fields inherited from class janus.web.config.PropertyConfig
prefix, props
 
Constructor Summary
ProxyService()
          Konstruktor - setzt die Serverklasse
 
Method Summary
 String getPool()
          Ermittle den Poolnamen
 int getTimeout()
          Ermittle den Timeout
protected  void setToStringParameters(String param)
          Setze die Paramter für Service.toString()
 void start()
          Starte den Service
 
Methods inherited from class janus.web.service.ServerLoopService
getAddress, getPort, getServerLoop, init, start, stop
 
Methods inherited from class janus.web.service.Service
create, getDebugStream, getName, getStatus, getTraceName, handleException, isActive, isDebug, setField, setTraceName, toString
 
Methods inherited from class janus.web.config.PropertyConfig
convertProperties, getBooleanProperty, getBooleanProperty, getBooleanPropertyArray, getBooleanPropertyArray, getIntProperty, getIntProperty, getIntPropertyArray, getIntPropertyArray, getLogger, getPrefix, getProperties, getProperty, getProperty, getPropertyArray, getPropertyArray, init, readFile, setPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

autorelease

protected boolean autorelease
Autorelease-Flag


DEFAULT_AUTORELEASE

public static final boolean DEFAULT_AUTORELEASE
See Also:
Constant Field Values

DEFAULT_POOL

public static final String DEFAULT_POOL
See Also:
Constant Field Values

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

DEFAULT_TIMEOUT

public static final int DEFAULT_TIMEOUT
See Also:
Constant Field Values

pool

protected String pool
Connection-Pool


timeout

protected int timeout
Timeout für ConnectionPool.getConnection()

Constructor Detail

ProxyService

public ProxyService()
Konstruktor - setzt die Serverklasse

Method Detail

getPool

public String getPool()
Ermittle den Poolnamen


getTimeout

public int getTimeout()
Ermittle den Timeout


setToStringParameters

protected void setToStringParameters(String param)
Setze die Paramter für Service.toString()

Overrides:
setToStringParameters in class ServerLoopService

start

public void start()
           throws Throwable
Starte den Service

Specified by:
start in class Service
Throws:
Throwable


Copyright © 2008 MvC Systemsoftware.