|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCoCustomDestination
Customizable destination, which allows to set specific user logon data and
SNC configuration.
A JCoCustomDestination is useful, if the destination obtained
from JCoDestinationManager does not contain logon information or if it is
necessary or desired to set call specific logon information.
Example use case:
In your application (server), you have a user management component that allows mapping the
user to a fitting ABAP system user so that the same identity is executing the requests
in the ABAP system like in your Java environment.
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 | |
---|---|
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 codepage to use with its communication partner. |
void |
setRepositoryDestination(JCoDestination destination)
Sets the destination, whose repository will be used for metadata 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()
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 codepage 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 |