|
Sun Adapter for COM/DCOM API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComRuntimeAgent
This is the ComRuntimeAgent interface for the COM application connection.
Method Summary | |
---|---|
STCIDispatch |
create(java.lang.String clsidString)
Call this method to create an instance of the COM object specified by the CLSID string and the default server (if DCOM component) in the eWay configuration. |
ComConfiguration |
getConfiguration()
Get the configuration for this connection. |
java.lang.String |
resolveSystemErrorText(int hr)
A convenience method exposed to allow the user to get the error text for an HRESULT. |
Method Detail |
---|
STCIDispatch create(java.lang.String clsidString) throws ComApplicationException
Call this method to create an instance of the COM object specified by the CLSID string and the default server (if DCOM component) in the eWay configuration.
clsidString
- The CLSID string of the COM object you wish to create.
Note that the component must be automation-compatible.
ComApplicationException
- if creation of the instance fails.ComConfiguration getConfiguration()
java.lang.String resolveSystemErrorText(int hr)
FormatMessage
method in the Win32 API.
|
Sun Adapter for COM/DCOM API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |