|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.mw.jco.IMiddleware
This class is never directly used by application programmers.
The class provides methods for middleware implementors and serves as a proxy between the low-level protocol handling routines (e.g RFC, HTTP/SOAP) and the API exposed to the programmer.
| Inner Class Summary | |
static interface |
IMiddleware.IClient
Middleware methods needed to implement a client |
static interface |
IMiddleware.IServer
Middleware methods needed to implement a server |
| Constructor Summary | |
IMiddleware()
|
|
| Method Summary | |
abstract IMiddleware.IClient |
getClientInterface()
Returns the middleware interface for a client |
java.lang.String |
getName()
Returns the name of the middleware layer |
java.util.Properties |
getProperties()
Returns properties as set by this implementation |
java.lang.String |
getProperty(java.lang.String key)
Returns a property for the specified key |
abstract java.lang.String[][] |
getPropertyInfo()
Returns information about the properties which are understood by the the implementation. |
abstract IMiddleware.IServer |
getServerInterface()
Returns the middleware interface for a server |
java.lang.String |
getVersion()
Returns the version of the middleware layer |
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property for this middleware implementation |
abstract void |
setTraceLevel(int trace_level)
Sets the trace level |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IMiddleware()
| Method Detail |
public abstract java.lang.String[][] getPropertyInfo()
Strings containg the
name and description of a property. For example
String pinfo[][] = {
{ "jco.middleware.name", "sapjcorfc" },
{ "jco.middleware.version", "2.0" },
};
public final java.util.Properties getProperties()
public final java.lang.String getProperty(java.lang.String key)
key - the name of the propertynull if not found
public void setProperty(java.lang.String key,
java.lang.String value)
key - the name of the propertyvalue - the value of the property or null to remove a propertypublic final java.lang.String getName()
public final java.lang.String getVersion()
public abstract void setTraceLevel(int trace_level)
trace_level - the trace_levelpublic abstract IMiddleware.IClient getClientInterface()
public abstract IMiddleware.IServer getServerInterface()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||