|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object janus.web.config.PropertyConfig janus.web.service.Service janus.web.service.SapJanusService
public class SapJanusService
Server-Dienst &fuuml,r die SAP-RFC-Anbindung an die Janus-API.
SapJanus
Field Summary | |
---|---|
protected int |
count
Anzahl der Instanzen |
static int |
DEFAULT_COUNT
|
protected Properties |
jcoProps
Properties für JCO |
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 | |
---|---|
SapJanusService()
|
Method Summary | |
---|---|
int |
getCount()
Ermittle die Anzahl der Instanzen |
Properties |
getJcoProperties()
Gebe die JCO-properties zurück |
void |
init(Properties props,
Class clazz)
Initialisierung der Properties und der SAP-Properties. |
protected void |
setToStringParameters(String param)
Setze die Paramter für Service.toString() |
void |
start()
Starte den Service. |
void |
stop()
Stoppe den Service |
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 |
---|
protected int count
public static final int DEFAULT_COUNT
protected Properties jcoProps
Constructor Detail |
---|
public SapJanusService()
Method Detail |
---|
public int getCount()
public Properties getJcoProperties()
public void init(Properties props, Class clazz) throws IllegalAccessException
jco.server.gwhost Gateway host jco.server.gwserv Gateway service (usually sapgwNN) jco.server.progid Program ID of the server jco.server.trace Enable/disable RFC trace (1 or 0) jco.server.params Arbitrary parameters for RFC library jco.server.snc_myname SNC name jco.server.snc_qop SNC level of security, 1 to 9 jco.server.snc_lib Path to the SNC library jco.server.unicode Flags whether to connect in unicode mode (1 or 0) jco.server.max_startup_delay Maximum server startup delay time in seconds jco.server.dsr Enable/Disable dsr support (0 or 1)
init
in class Service
props
- Konfigurationsdatenclazz
- die eigene Klasse
IllegalAccessException
protected void setToStringParameters(String param)
Service.toString()
setToStringParameters
in class Service
public void start() throws Throwable
start
in class Service
Throwable
public void stop() throws Throwable
stop
in class Service
Throwable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |