|
Sun Adapter for COM/DCOM API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stc.connector.comadapter.appconn.ComRuntimeAgentImpl
public class ComRuntimeAgentImpl
This class implements the ApplicationConnection interface for the COM application connection.
| Constructor Summary | |
|---|---|
ComRuntimeAgentImpl(ComApplicationConnection appConn)
Creates a new instance of ComRuntimeAgentImpl. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComRuntimeAgentImpl(ComApplicationConnection appConn)
mc - The ManagedConnection which created this connection.| Method Detail |
|---|
public STCIDispatch create(java.lang.String clsidString)
throws ComApplicationException
create in interface ComRuntimeAgentclsidString - 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.public ComConfiguration getConfiguration()
getConfiguration in interface ComRuntimeAgentpublic java.lang.String resolveSystemErrorText(int hr)
FormatMessage method in the Win32 API.
resolveSystemErrorText in interface ComRuntimeAgent
|
Sun Adapter for COM/DCOM API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||