|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCoCustomDestination
Customizable destination that allows to set specific user logon data and
SNC configuration.
A JCoCustomDestination is useful, if the destination obtained from the
JCoDestinationManager does not contain logon information or if it is
necessary or desired to set call specific logon parameters at runtime.
JCoCustomDestination instances do not share connection pools and stateful
call contexts with configured JCoDestination instances that are obtained from
the JCoDestinationManager. But JCoCustomDestination instances share
connection pools and stateful call contexts with other JCoCustomDestination
instances that have been created from the same configured JCoDestination, if
they also use the same logon parameters.
A JCoCustomDestination instance cannot be modified anymore after it has been
used for executing an application RFC request.
JCoDestination.createCustomDestination()
Nested Class Summary | |
---|---|
static interface |
JCoCustomDestination.SncConfigurationData
SncConfigurationData allows change SNC configuration for a JCoCustomDestination. |
static interface |
JCoCustomDestination.UserData
UserData allows change the logon configuration data for a JCoCustomDestination. |
Method Summary | |
---|---|
JCoDestination |
getOriginalDestination()
Returns the original destination, a.k.a. |
JCoCustomDestination.SncConfigurationData |
getSNCConfiguration()
Returns the holder for properties of SNC configuration. |
JCoCustomDestination.UserData |
getUserLogonData()
Returns the holder for properties of user logon data. |
void |
setCodepage(String codepage)
The RFC communication negotiates the code page to use with its communication partner. |
void |
setRepositoryDestination(JCoDestination destination)
Sets the destination, whose repository will be used for meta data queries for this destination. |
void |
setTrace(boolean trace)
Allows turning on/off trace on the fly. |
void |
setUseSapGui(boolean useSapGui)
Allows turning on/off the association of an SAP GUI with the used JCo connection on the fly. |
Method Detail |
---|
void setRepositoryDestination(JCoDestination destination) throws JCoException
destination
- the destination to ask for the repository
JCoException
- if an exception occurs
during the initialization of connections to the given destinationJCoDestination.getRepository()
JCoDestination getOriginalDestination()
JCoCustomDestination.SncConfigurationData getSNCConfiguration()
JCoCustomDestination.UserData getUserLogonData()
void setTrace(boolean trace)
trace
- if set to true, trace will be turned on otherwise trace will be turned offvoid setCodepage(String codepage)
codepage
- the code page to use for the initial requestvoid setUseSapGui(boolean useSapGui)
useSapGui
- if set to true, a GUI will be associated with the connection, otherwise not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |