org.apache.cocoon.components.web3.impl
Class Web3ClientImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.web3.impl.Web3ClientImpl
All Implemented Interfaces:
Poolable, Recyclable, Disposable, Component, LogEnabled, Web3Client

public class Web3ClientImpl
extends AbstractLogEnabled
implements Web3Client, Disposable, Recyclable, Poolable

TBD

Since:
2.1
Version:
CVS $Id: Web3ClientImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Michael Gerzabek

Field Summary
protected  com.sap.mw.jco.JCO.Client client
           
protected  String repository
           
 
Fields inherited from interface org.apache.cocoon.components.web3.Web3Client
ROLE
 
Constructor Summary
Web3ClientImpl()
           
 
Method Summary
 void abort(String message)
           
 Object clone()
           
 void confirmTID(String tid)
           
 void connect()
           
 String createTID()
           
 void disconnect()
           
 void dispose()
           
 void execute(com.sap.mw.jco.JCO.Function function)
          Execute an Abab function
 void execute(com.sap.mw.jco.JCO.Function function, String tid)
           
 void execute(com.sap.mw.jco.JCO.Function function, String tid, String queue_name)
           
 void execute(com.sap.mw.jco.JCO.Function function, String tid, String queue_name, int queue_pos)
           
 void execute(String name, com.sap.mw.jco.JCO.ParameterList input, com.sap.mw.jco.JCO.ParameterList output)
           
 void execute(String name, com.sap.mw.jco.JCO.ParameterList input, com.sap.mw.jco.JCO.ParameterList output, com.sap.mw.jco.JCO.ParameterList tables)
           
 void execute(String name, com.sap.mw.jco.JCO.ParameterList input, com.sap.mw.jco.JCO.ParameterList tables, String tid)
           
 void execute(String name, com.sap.mw.jco.JCO.ParameterList input, com.sap.mw.jco.JCO.ParameterList tables, String tid, String queue_name)
           
 void execute(String name, com.sap.mw.jco.JCO.ParameterList input, com.sap.mw.jco.JCO.ParameterList tables, String tid, String queue_name, int queue_pos)
           
 boolean getAbapDebug()
           
 String getASHost()
           
 com.sap.mw.jco.JCO.Attributes getAttributes()
           
 String getClient()
           
 String getGroup()
           
 String getGWHost()
           
 String getGWServ()
           
 String getLanguage()
           
 String getMSHost()
           
 Properties getProperties()
           
 String getProperty(String key)
           
 String[][] getPropertyInfo()
           
 com.sap.mw.jco.IRepository getRepository()
          Get a Client Repository
 int getSapGui()
           
 byte getState()
           
 String getSystemID()
           
 String getSystemNumber()
           
 String getTPName()
           
 boolean getTrace()
           
 URL getURL()
           
 String getUser()
           
 void initClient(com.sap.mw.jco.JCO.Client client)
          Initialize the client
 boolean isAlive()
           
 boolean isValid()
           
 void ping()
           
 void recycle()
           
 void releaseClient()
          Releases the Connection to the backend
 void setAbapDebug(boolean debug)
           
 void setProperty(String key, String value)
           
 void setSapGui(int use_sapgui)
           
 void setThroughput(com.sap.mw.jco.JCO.Throughput throughput)
           
 void setTrace(boolean trace)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected com.sap.mw.jco.JCO.Client client

repository

protected String repository
Constructor Detail

Web3ClientImpl

public Web3ClientImpl()
Method Detail

initClient

public void initClient(com.sap.mw.jco.JCO.Client client)
Description copied from interface: Web3Client
Initialize the client

Specified by:
initClient in interface Web3Client

releaseClient

public void releaseClient()
Description copied from interface: Web3Client
Releases the Connection to the backend

Specified by:
releaseClient in interface Web3Client

recycle

public void recycle()
Specified by:
recycle in interface Recyclable

dispose

public void dispose()
Specified by:
dispose in interface Disposable

getRepository

public com.sap.mw.jco.IRepository getRepository()
Description copied from interface: Web3Client
Get a Client Repository

Specified by:
getRepository in interface Web3Client

abort

public void abort(String message)

clone

public Object clone()
Overrides:
clone in class Object

confirmTID

public void confirmTID(String tid)

connect

public void connect()

createTID

public String createTID()

disconnect

public void disconnect()

execute

public void execute(com.sap.mw.jco.JCO.Function function)
Description copied from interface: Web3Client
Execute an Abab function

Specified by:
execute in interface Web3Client

execute

public void execute(com.sap.mw.jco.JCO.Function function,
                    String tid)

execute

public void execute(com.sap.mw.jco.JCO.Function function,
                    String tid,
                    String queue_name)

execute

public void execute(com.sap.mw.jco.JCO.Function function,
                    String tid,
                    String queue_name,
                    int queue_pos)

execute

public void execute(String name,
                    com.sap.mw.jco.JCO.ParameterList input,
                    com.sap.mw.jco.JCO.ParameterList output)

execute

public void execute(String name,
                    com.sap.mw.jco.JCO.ParameterList input,
                    com.sap.mw.jco.JCO.ParameterList output,
                    com.sap.mw.jco.JCO.ParameterList tables)

execute

public void execute(String name,
                    com.sap.mw.jco.JCO.ParameterList input,
                    com.sap.mw.jco.JCO.ParameterList tables,
                    String tid)

execute

public void execute(String name,
                    com.sap.mw.jco.JCO.ParameterList input,
                    com.sap.mw.jco.JCO.ParameterList tables,
                    String tid,
                    String queue_name)

execute

public void execute(String name,
                    com.sap.mw.jco.JCO.ParameterList input,
                    com.sap.mw.jco.JCO.ParameterList tables,
                    String tid,
                    String queue_name,
                    int queue_pos)

getAbapDebug

public boolean getAbapDebug()

getASHost

public String getASHost()

getAttributes

public com.sap.mw.jco.JCO.Attributes getAttributes()

getClient

public String getClient()

getGroup

public String getGroup()

getGWHost

public String getGWHost()

getGWServ

public String getGWServ()

getLanguage

public String getLanguage()

getMSHost

public String getMSHost()

getPropertyInfo

public String[][] getPropertyInfo()

getSapGui

public int getSapGui()

getState

public byte getState()

getSystemID

public String getSystemID()

getSystemNumber

public String getSystemNumber()

getTPName

public String getTPName()

getTrace

public boolean getTrace()

getURL

public URL getURL()

getUser

public String getUser()

isAlive

public boolean isAlive()

ping

public void ping()

setAbapDebug

public void setAbapDebug(boolean debug)

setProperty

public void setProperty(String key,
                        String value)

setSapGui

public void setSapGui(int use_sapgui)

setTrace

public void setTrace(boolean trace)

getProperties

public final Properties getProperties()

getProperty

public final String getProperty(String key)

isValid

public boolean isValid()

setThroughput

public void setThroughput(com.sap.mw.jco.JCO.Throughput throughput)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.