org.hibersap.execution.jco
Class JCoDataProvider

java.lang.Object
  extended by org.hibersap.execution.jco.JCoDataProvider
All Implemented Interfaces:
com.sap.conn.jco.ext.DestinationDataProvider

public class JCoDataProvider
extends Object
implements com.sap.conn.jco.ext.DestinationDataProvider

The Hibersap implementation of the JCo DestinationDataProvider. JCo destinations can be added and removed at runtime.

Author:
Carsten Erker

Field Summary
 
Fields inherited from interface com.sap.conn.jco.ext.DestinationDataProvider
JCO_ALIAS_USER, JCO_ASHOST, JCO_AUTH_TYPE, JCO_AUTH_TYPE_CONFIGURED_USER, JCO_AUTH_TYPE_CURRENT_USER, JCO_CLIENT, JCO_CODEPAGE, JCO_CPIC_TRACE, JCO_DENY_INITIAL_PASSWORD, JCO_DEST, JCO_EXPIRATION_PERIOD, JCO_EXPIRATION_TIME, JCO_GETSSO2, JCO_GROUP, JCO_GWHOST, JCO_GWSERV, JCO_LANG, JCO_LCHECK, JCO_MAX_GET_TIME, JCO_MSHOST, JCO_MSSERV, JCO_MYSAPSSO2, JCO_PASSWD, JCO_PCS, JCO_PEAK_LIMIT, JCO_POOL_CAPACITY, JCO_R3NAME, JCO_REPOSITORY_DEST, JCO_REPOSITORY_PASSWD, JCO_REPOSITORY_ROUNDTRIP_OPTIMIZATION, JCO_REPOSITORY_SNC, JCO_REPOSITORY_USER, JCO_SAPROUTER, JCO_SNC_LIBRARY, JCO_SNC_MODE, JCO_SNC_MYNAME, JCO_SNC_PARTNERNAME, JCO_SNC_QOP, JCO_SYSNR, JCO_TPHOST, JCO_TPNAME, JCO_TRACE, JCO_TYPE, JCO_USE_SAPGUI, JCO_USER, JCO_USER_ID, JCO_X509CERT
 
Constructor Summary
JCoDataProvider()
           
 
Method Summary
 void addDestination(String destinationName, Properties properties)
           
 Properties getDestinationProperties(String destinationName)
          
 boolean hasDestinations()
           
 void removeDestination(String destinationName)
           
 void setDestinationDataEventListener(com.sap.conn.jco.ext.DestinationDataEventListener eventListener)
          
 boolean supportsEvents()
          
 boolean wasAdded(String destinationName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCoDataProvider

public JCoDataProvider()
Method Detail

addDestination

public void addDestination(String destinationName,
                           Properties properties)

removeDestination

public void removeDestination(String destinationName)

getDestinationProperties

public Properties getDestinationProperties(String destinationName)

Specified by:
getDestinationProperties in interface com.sap.conn.jco.ext.DestinationDataProvider

wasAdded

public boolean wasAdded(String destinationName)

hasDestinations

public boolean hasDestinations()

setDestinationDataEventListener

public void setDestinationDataEventListener(com.sap.conn.jco.ext.DestinationDataEventListener eventListener)

Specified by:
setDestinationDataEventListener in interface com.sap.conn.jco.ext.DestinationDataProvider

supportsEvents

public boolean supportsEvents()

Specified by:
supportsEvents in interface com.sap.conn.jco.ext.DestinationDataProvider


Copyright © 2012 akquinet tech@spree GmbH. All Rights Reserved.