|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJIUnknown
Base interface for all COM
components.
An Example:-
JISession session = JISession.createSession("DOMAIN","USERNAME","PASSWORD");
JIComServer stub = new JIComServer(JIProgId.valueOf(session,"TestCOM123.TestServer2"),address,session);
IJIComObject comObject = stub.createInstance();
IJIUnknown handle = comObject.queryInterface("620012E2-69E3-4DC0-B553-AE252524D2F6");
Field Summary | |
---|---|
static java.lang.String |
IID
IID representing the IUnknown |
Method Summary | |
---|---|
void |
addRef()
Increases the reference count on the actual COM server by 5 (currently hardcoded). |
IJIUnknown |
queryInterface(java.lang.String iid)
Used to retrieve interface pointers based on iid . |
void |
release()
Decreases the reference count on the actual COM server by 5 (currently hardcoded). |
Field Detail |
---|
static final java.lang.String IID
IUnknown
Method Detail |
---|
IJIUnknown queryInterface(java.lang.String iid) throws JIException
iid
.
iid
- String representation of the IID (clsid).
JIException
void addRef() throws JIException
Increases the reference count on the actual COM
server by 5 (currently hardcoded).
The developer should refrain from calling this API, as referencing is maintained internally by the
system. If the release
is not called in conjunction with addRef
then the
COM Instance will not get garbage collected at the server.
JIException
void release() throws JIException
Decreases the reference count on the actual COM
server by 5 (currently hardcoded).
The developer should refrain from calling this API, as referencing is maintained internally by the
system. If the release
is not called in conjunction with addRef
then the
COM Instance will not get garbage collected at the server.
JIException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |