📄 environment.html
字号:
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sap/conn/jco/ext/Environment.html#registerServerPassportManager(com.sap.conn.jco.ext.ServerPassportManager)">registerServerPassportManager</A></B>(<A HREF="../../../../../com/sap/conn/jco/ext/ServerPassportManager.html" title="interface in com.sap.conn.jco.ext">ServerPassportManager</A> passportManager)</CODE>
<BR>
Registers a manager for DSR passports for server side communication.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sap/conn/jco/ext/Environment.html#registerSessionReferenceProvider(com.sap.conn.jco.ext.SessionReferenceProvider)">registerSessionReferenceProvider</A></B>(<A HREF="../../../../../com/sap/conn/jco/ext/SessionReferenceProvider.html" title="interface in com.sap.conn.jco.ext">SessionReferenceProvider</A> provider)</CODE>
<BR>
Registers a provider for session reference information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sap/conn/jco/ext/Environment.html#unregisterClientPassportManager(com.sap.conn.jco.ext.ClientPassportManager)">unregisterClientPassportManager</A></B>(<A HREF="../../../../../com/sap/conn/jco/ext/ClientPassportManager.html" title="interface in com.sap.conn.jco.ext">ClientPassportManager</A> passportManager)</CODE>
<BR>
Unregisters a manager for DSR passports for client side communication.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sap/conn/jco/ext/Environment.html#unregisterDestinationDataProvider(com.sap.conn.jco.ext.DestinationDataProvider)">unregisterDestinationDataProvider</A></B>(<A HREF="../../../../../com/sap/conn/jco/ext/DestinationDataProvider.html" title="interface in com.sap.conn.jco.ext">DestinationDataProvider</A> provider)</CODE>
<BR>
Unregisters a provider for destination data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sap/conn/jco/ext/Environment.html#unregisterServePassportManager(com.sap.conn.jco.ext.ServerPassportManager)">unregisterServePassportManager</A></B>(<A HREF="../../../../../com/sap/conn/jco/ext/ServerPassportManager.html" title="interface in com.sap.conn.jco.ext">ServerPassportManager</A> passportManager)</CODE>
<BR>
Unregisters a manager for DSR passports for server side communication.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sap/conn/jco/ext/Environment.html#unregisterServerDataProvider(com.sap.conn.jco.ext.ServerDataProvider)">unregisterServerDataProvider</A></B>(<A HREF="../../../../../com/sap/conn/jco/ext/ServerDataProvider.html" title="interface in com.sap.conn.jco.ext">ServerDataProvider</A> provider)</CODE>
<BR>
Unregisters a provider for destination data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sap/conn/jco/ext/Environment.html#unregisterSessionReferenceProvider(com.sap.conn.jco.ext.SessionReferenceProvider)">unregisterSessionReferenceProvider</A></B>(<A HREF="../../../../../com/sap/conn/jco/ext/SessionReferenceProvider.html" title="interface in com.sap.conn.jco.ext">SessionReferenceProvider</A> provider)</CODE>
<BR>
Unregisters a provider for session id data.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="Environment()"><!-- --></A><H3>
Environment</H3>
<PRE>
public <B>Environment</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="inSAPVM()"><!-- --></A><H3>
inSAPVM</H3>
<PRE>
public static final boolean <B>inSAPVM</B>()</PRE>
<DL>
<DD>Allows to check, whether the current Java virtual machine is a VM provided by SAP.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the Java virtual machine is a VM provided by SAP, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="inJTS()"><!-- --></A><H3>
inJTS</H3>
<PRE>
public static final boolean <B>inJTS</B>()</PRE>
<DL>
<DD>Allows to check, whether the current runtime environment is a JTS.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the runtime environment is a JTS, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="inDW()"><!-- --></A><H3>
inDW</H3>
<PRE>
public static final boolean <B>inDW</B>()</PRE>
<DL>
<DD>Allows to check, whether the current runtime environment is a DW, which is a flavor of JTS.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the runtime environment is a DW, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="inDWJ()"><!-- --></A><H3>
inDWJ</H3>
<PRE>
public static final boolean <B>inDWJ</B>()</PRE>
<DL>
<DD>Allows to check, whether the current runtime environment is a DWJ, which is a flavor of JTS.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the runtime environment is a DWJ, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="inJStartup()"><!-- --></A><H3>
inJStartup</H3>
<PRE>
public static final boolean <B>inJStartup</B>()</PRE>
<DL>
<DD>Allows to check, whether the current runtime environment has been started by a Java Startup framework, which means it is an SAP J2EE engine.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the runtime environment is a Java Startup framework, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="inStandalone()"><!-- --></A><H3>
inStandalone</H3>
<PRE>
public static final boolean <B>inStandalone</B>()</PRE>
<DL>
<DD>Allows to check, whether the current runtime environment is a standalone environment, which means it's neither JTS nor SAP J2EE.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the runtime environment is standalone, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="inEclipsePlugin()"><!-- --></A><H3>
inEclipsePlugin</H3>
<PRE>
public static final boolean <B>inEclipsePlugin</B>()</PRE>
<DL>
<DD>Allows to check, whether the JCo was loaded as eclipse plugin within the current environment, which means the application is in a standalone environment and probably run in eclipse.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if JCo is loaded as eclipse plugin, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="registerDestinationDataProvider(com.sap.conn.jco.ext.DestinationDataProvider)"><!-- --></A><H3>
registerDestinationDataProvider</H3>
<PRE>
public static void <B>registerDestinationDataProvider</B>(<A HREF="../../../../../com/sap/conn/jco/ext/DestinationDataProvider.html" title="interface in com.sap.conn.jco.ext">DestinationDataProvider</A> provider)</PRE>
<DL>
<DD>Registers a provider for destination data.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>provider</CODE> - the class that provides DestinationData
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalStateException</CODE> - if a provider is already registered</DL>
</DD>
</DL>
<HR>
<A NAME="registerServerDataProvider(com.sap.conn.jco.ext.ServerDataProvider)"><!-- --></A><H3>
registerServerDataProvider</H3>
<PRE>
public static void <B>registerServerDataProvider</B>(<A HREF="../../../../../com/sap/conn/jco/ext/ServerDataProvider.html" title="interface in com.sap.conn.jco.ext">ServerDataProvider</A> provider)</PRE>
<DL>
<DD>Registers a provider for destination data.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>provider</CODE> - the class that provides DestinationData
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalStateException</CODE> - if a provider is already registered</DL>
</DD>
</DL>
<HR>
<A NAME="registerSessionReferenceProvider(com.sap.conn.jco.ext.SessionReferenceProvider)"><!-- --></A><H3>
registerSessionReferenceProvider</H3>
<PRE>
public static void <B>registerSessionReferenceProvider</B>(<A HREF="../../../../../com/sap/conn/jco/ext/SessionReferenceProvider.html" title="interface in com.sap.conn.jco.ext">SessionReferenceProvider</A> provider)</PRE>
<DL>
<DD>Registers a provider for session reference information.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>provider</CODE> - the class that provides session reference information
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalStateException</CODE> - if a provider is already registered</DL>
</DD>
</DL>
<HR>
<A NAME="unregisterDestinationDataProvider(com.sap.conn.jco.ext.DestinationDataProvider)"><!-- --></A><H3>
unregisterDestinationDataProvider</H3>
<PRE>
public static void <B>unregisterDestinationDataProvider</B>(<A HREF="../../../../../com/sap/conn/jco/ext/DestinationDataProvider.html" title="interface in com.sap.conn.jco.ext">DestinationDataProvider</A> provider)</PRE>
<DL>
<DD>Unregisters a provider for destination data. It needs to be exactly the object instance that was originally registered. Otherwise it's impossible to deregister it.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -