| Package | Description |
|---|---|
| org.jinterop.dcom.core |
Defines the classes and data structures required to work with j-Interop.
|
| org.jinterop.dcom.impls |
Defines factories to all external interfaces such as automation (IDispatch, ITypeInfo , IEnumVariant etc) and any other out of the box wrappers provided by j-Interop.
|
| org.jinterop.dcom.impls.automation |
Defines out-of-box classes for usage with COM servers supporting automation.
|
| org.jinterop.winreg |
Defines classes to access Windows Registry.
|
| org.jinterop.winreg.smb |
| Modifier and Type | Method and Description |
|---|---|
void |
JIStruct.addMember(int position,
Object member)
Adds object as member to the index specified.
|
void |
JIStruct.addMember(Object member)
Adds the object as a member of this structure.
|
void |
JIUnion.addMember(Object discriminant,
JIStruct member)
Adds a member to this Union.
|
void |
JIUnion.addMember(Object discriminant,
Object member)
Adds a member to this Union.
|
void |
JIComObjectImplWrapper.addRef() |
void |
IJIComObject.addRef()
< P>
Increases the reference count on the COM server by 5 (currently hard
coded).
|
static String |
JIFrameworkHelper.attachEventHandler(IJIComObject comObject,
String sourceUUID,
IJIComObject eventListener) |
Object[] |
JIComObjectImplWrapper.call(JICallBuilder obj) |
Object[] |
IJIComObject.call(JICallBuilder obj)
< P>
Executes a method call on the actual COM object represented by this
interface.
|
Object[] |
JIComObjectImplWrapper.call(JICallBuilder obj,
int timeout) |
Object[] |
IJIComObject.call(JICallBuilder obj,
int timeout)
< P>
Refer
IJIComObject.call(JICallBuilder) for details on this method. |
IJIComObject |
JIComServer.createInstance()
Returns an
IJIComObject representing the COM Server. |
static void |
JISession.destroySession(JISession session)
< p>
Used to destroy the
session, this release all references of
the COM server and it's interfaces. |
static void |
JIFrameworkHelper.detachEventHandler(IJIComObject comObject,
String identifier) |
JIClsid |
JIProgId.getCorrespondingCLSID()
Returns the
CLSID for this ProgId. |
Object |
JIVariant.getObject()
Returns the contained object.
|
JIArray |
JIVariant.getObjectAsArray()
Retrieves the contained object as
JIArray. |
boolean |
JIVariant.getObjectAsBoolean()
Retrieves the contained object as
boolean. |
char |
JIVariant.getObjectAsChar()
Retrieves the contained object as
char. |
IJIComObject |
JIVariant.getObjectAsComObject() |
Date |
JIVariant.getObjectAsDate()
Retrieves the contained object as
java.util.Date. |
double |
JIVariant.getObjectAsDouble()
Retrieves the contained object as
double. |
float |
JIVariant.getObjectAsFloat()
Retrieves the contained object as
float. |
int |
JIVariant.getObjectAsInt()
Retrieves the contained object as
int. |
long |
JIVariant.getObjectAsLong()
Retrieves the contained object as
long, used when the
expected type is VT_I8. |
int |
JIVariant.getObjectAsSCODE()
Retrieves the contained objects errorCode.
|
short |
JIVariant.getObjectAsShort()
Retrieves the contained object as
short. |
JIString |
JIVariant.getObjectAsString()
Retrieves the contained object as
JIString. |
String |
JIVariant.getObjectAsString2()
Retrieves the contained object as
String. |
IJIUnsigned |
JIVariant.getObjectAsUnsigned()
Retrieves the contained object as
unsigned number. |
JIVariant |
JIVariant.getObjectAsVariant()
Retrieves the contained object as
JIVariant. |
int |
JIVariant.getType()
Returns the referent as integer.
|
static IJIComObject |
JIFrameworkHelper.instantiateComObject(JISession session,
byte[] rawBytes,
String ipAddress)
Returns an Interface Pointer representation from raw bytes.
|
static IJIComObject |
JIFrameworkHelper.instantiateComObject(JISession session,
IJIComObject comObject)
Typically used in the Man-In-The-Middle scenario, where one j-Interop
system interacts with another over the wire.
|
static IJIComObject |
JIFrameworkHelper.instantiateLocalComObject(JISession session,
JILocalCoClass javaComponent)
Returns an Interface Pointer representation for the Java Component
|
boolean |
JIVariant.isArray() |
boolean |
JIVariant.isByRefFlagSet() |
IJIComObject |
JIComObjectImplWrapper.queryInterface(String iid) |
IJIComObject |
IJIComObject.queryInterface(String iid)
< p>
Retrieve interface references based on
iid. |
void |
JIComObjectImplWrapper.release() |
void |
IJIComObject.release()
< P>
Decreases the reference count on the COM server by 5 (currently hard
coded).
|
| Constructor and Description |
|---|
JIComServer(JIClsid clsid,
JISession session)
< p>
based constructor with the host machine for
COM server being LOCALHOST. |
JIComServer(JIClsid clsid,
String address,
JISession session)
< p>
Refer
JIComServer(JIClsid, JISession) for details. |
JIComServer(JIProgId progId,
JISession session)
< p>
JIProgId based constructor with the host machine for COM
server being LOCALHOST. |
JIComServer(JIProgId progId,
String address,
JISession session)
< p>
Refer
JIComServer(JIProgId, JISession) for details. |
| Modifier and Type | Method and Description |
|---|---|
static String |
JIObjectFactory.attachEventHandler(IJIComObject comObject,
String sourceUUID,
IJIComObject eventListener)
Attaches an event handler to
comObject for the source event
interface of COM , identified by the sourceUUID. |
static IJIComObject |
JIObjectFactory.buildObject(JISession session,
byte[] rawBytes)
Returns a COM Object from raw bytes.
|
static IJIComObject |
JIObjectFactory.buildObject(JISession session,
byte[] rawBytes,
String ipAddress)
Returns a COM Object from raw bytes.
|
static IJIComObject |
JIObjectFactory.buildObject(JISession session,
JILocalCoClass javaComponent)
Returns a local COM Object representation for the Java component.
|
static void |
JIObjectFactory.detachEventHandler(IJIComObject comObject,
String identifier)
Detaches the event handler identified by
identifier and
associated with this comObject. |
static IJIComObject |
JIObjectFactory.narrowObject(IJIComObject comObject)
Narrows the
comObject into its right type based on
it's IID. |
static IJIComObject |
JIObjectFactory.narrowObject(JISession session,
IJIComObject comObject)
Typically used in the Man-In-The-Middle scenario.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JIAutomationException
Class for signifying Automation related exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IJIDispatch.callMethod(int dispId)
Performs a
method call for the method identified by the
dispId parameter. |
void |
IJIDispatch.callMethod(int dispId,
Object[] inparams)
Performs a
method call for the method identified by the
dispId parameter. |
void |
IJIDispatch.callMethod(int dispId,
Object[] inparams,
int[] dispIds)
Performs a
method call for the method identified by the
dispId parameter. |
void |
IJIDispatch.callMethod(String name)
Performs a
method call for the method identified by the
name parameter. |
void |
IJIDispatch.callMethod(String name,
Object[] inparams)
Performs a
method call for the method identified by the
name parameter. |
void |
IJIDispatch.callMethod(String name,
Object[] inparams,
int[] dispIds)
Performs a
method call for the method identified by the
name parameter. |
void |
IJIDispatch.callMethod(String name,
Object[] inparams,
String[] paramNames)
Performs a
method call for the method identified by the
name parameter. |
JIVariant |
IJIDispatch.callMethodA(int dispId)
Performs a
method call for the method identified by the
dispId parameter. |
JIVariant[] |
IJIDispatch.callMethodA(int dispId,
Object[] inparams)
Performs a
method call for the method identified by the
dispId parameter. |
JIVariant[] |
IJIDispatch.callMethodA(int dispId,
Object[] inparams,
int[] dispIds)
Performs a
method call for the method identified by the
dispId parameter. |
JIVariant |
IJIDispatch.callMethodA(String name)
Performs a
method call for the method identified by the
name parameter. |
JIVariant[] |
IJIDispatch.callMethodA(String name,
Object[] inparams)
Performs a
method call for the method identified by the
name parameter. |
JIVariant[] |
IJIDispatch.callMethodA(String name,
Object[] inparams,
int[] dispIds)
Performs a
method call for the method identified by the
name parameter. |
JIVariant[] |
IJIDispatch.callMethodA(String name,
Object[] inparams,
String[] paramNames)
Performs a
method call for the method identified by the
name parameter. |
IJIEnumVariant |
IJIEnumVariant.Clone()
Definition from MSDN:
Creates a copy of the current state of enumeration.
|
IJIComObject |
IJITypeInfo.createInstance(String riid)
Creates a new instance of a type that describes a component object class
(coclass).
|
Object[] |
IJITypeLib.findName(JIString nameBuf,
int hashValue,
short found)
Finds occurrences of a type description in a type library.
|
JIVariant |
IJIDispatch.get(int dispId)
Performs a
propget for the method identified by the
dispId. |
JIVariant[] |
IJIDispatch.get(int dispId,
Object[] inparams)
Performs a
propget for the method identified by the
dispId parameter. |
JIVariant |
IJIDispatch.get(String name)
Performs a
propget for the method identified by the
name parameter. |
JIVariant[] |
IJIDispatch.get(String name,
Object[] inparams)
Performs a
propget for the method identified by the
name parameter. |
Object[] |
IJITypeInfo.getContainingTypeLib()
Retrieves the containing type library and the index of the type
description within that type library.
|
Object[] |
IJITypeInfo.getDllEntry(int memberId,
int invKind)
Retrieves a description or specification of an entry point for a function
in a DLL.
|
Object[] |
IJITypeInfo.getDocumentation(int memberId)
Retrieves the documentation string, the complete Help file name and path,
and the context ID for the Help topic for a specified type description.
|
Object[] |
IJITypeLib.getDocumentation(int memberId)
Retrieves the library's documentation string, the complete Help file name
and path, and the context identifier for the library Help topic in the
Help file.
|
FuncDesc |
IJITypeInfo.getFuncDesc(int index)
Retrieves the FuncDesc structure that contains information about a
specified function.
|
int |
IJIDispatch.getIDsOfNames(String apiName)
Maps a method name to its corresponding
DISPID.The result of
this call is cached for further usage and no network call is performed
again for the same method name. |
int[] |
IJIDispatch.getIDsOfNames(String[] apiName)
Maps a single method name and an optional set of it's argument names to a
corresponding set of
DISPIDs. |
int |
IJITypeInfo.getImplTypeFlags(int index)
Retrieves the IMPLTYPEFLAGS enumeration for one implemented interface or
base interface in a type description.
|
void |
IJITypeLib.getLibAttr()
Retrieves the structure that contains the library's attributes.
|
JIString |
IJITypeInfo.getMops(int memberId)
Retrieves marshaling information.
|
Object[] |
IJITypeInfo.getNames(int memberId,
int maxNames)
Retrieves the variable with the specified member ID (or the name of the
property or method and its parameters) that correspond to the specified
function ID.
|
IJITypeInfo |
IJITypeInfo.getRefTypeInfo(int hrefType)
If a type description references other type descriptions, it retrieves
the referenced type descriptions.
|
int |
IJITypeInfo.getRefTypeOfImplType(int index)
If a type description describes a COM class, it retrieves the type
description of the implemented interface types.
|
TypeAttr |
IJITypeInfo.getTypeAttr()
Retrieves a TypeAttr structure that contains the attributes of the type
description.
|
IJITypeInfo |
IJIDispatch.getTypeInfo(int typeInfo)
Returns an implementation of COM
ITypeInfo interface based
on the typeInfo. |
IJITypeInfo |
IJITypeLib.getTypeInfo(int index)
Retrieves the specified type description in the library.
|
int |
IJIDispatch.getTypeInfoCount()
Definition from MSDN:
Determines whether there is type information available for the dual
interface.
|
int |
IJITypeLib.getTypeInfoCount()
Returns the number of type descriptions in the type library.
|
IJITypeInfo |
IJITypeLib.getTypeInfoOfGuid(String uuid)
Retrieves the type description that corresponds to the specified GUID.
|
int |
IJITypeLib.getTypeInfoType(int index)
Retrieves the type of a type description.
|
VarDesc |
IJITypeInfo.getVarDesc(int index)
Retrieves a VARDESC structure that describes the specified variable.
|
static IJIComObject |
Internal_JIAutomationFactory.narrowObject(IJIComObject comObject) |
Object[] |
IJIEnumVariant.next(int celt)
Definition from MSDN:
Attempts to get the next celt items in the enumeration sequence.
|
void |
IJIDispatch.put(int dispId,
JIVariant inparam)
Performs a
propput for the method identified by the
dispId. |
void |
IJIDispatch.put(int dispId,
Object[] params)
Performs a
propput for the method identified by the
dispId |
void |
IJIDispatch.put(String name,
JIVariant inparam)
Performs a
propput for the method identified by the
name parameter. |
void |
IJIDispatch.put(String name,
Object[] params)
Performs a
propput for the method identified by the
name parameter. |
void |
IJIDispatch.putRef(int dispId,
JIVariant inparam)
Performs a
propputref for the method identified by the
dispId. |
void |
IJIDispatch.putRef(int dispId,
Object[] params)
Performs a
propputref for the method identified by the
dispId. |
void |
IJIDispatch.putRef(String name,
JIVariant inparam)
Performs a
propput for the method identified by the
name parameter. |
void |
IJIDispatch.putRef(String name,
Object[] params)
Performs a
propput for the method identified by the
name parameter. |
void |
IJIEnumVariant.reset()
Definition from MSDN:
Resets the enumeration sequence to the beginning.
|
void |
IJIEnumVariant.skip(int celt)
Definition from MSDN: Attempts to skip over the next celt elements in
the enumeration sequence.
|
| Constructor and Description |
|---|
JIAutomationException(JIException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
IJIWinReg.closeConnection()
Closes this connection, but a word of caution, it does not close any OPEN
Key.
|
void |
IJIWinReg.winreg_CloseKey(JIPolicyHandle handle)
Closes the key.
|
JIPolicyHandle |
IJIWinReg.winreg_CreateKey(JIPolicyHandle handle,
String subKey,
int options,
int accessMask)
Creates a new key by name subKey under the handle.
|
void |
IJIWinReg.winreg_DeleteKeyOrValue(JIPolicyHandle handle,
String valueName,
boolean isKey)
Deletes a key or value specified by valueName.
|
String[] |
IJIWinReg.winreg_EnumKey(JIPolicyHandle handle,
int index)
Returns name and class (in that order) for the key identified by index
under parent handle.
|
Object[] |
IJIWinReg.winreg_EnumValue(JIPolicyHandle handle,
int index)
Returns name and type (in that order) for the value identified by index
under parent handle.
|
JIPolicyHandle |
IJIWinReg.winreg_OpenHKCR()
Opens the HKEY_CLASSES_ROOT key
|
JIPolicyHandle |
IJIWinReg.winreg_OpenHKCU()
Opens the HKEY_CURRENT_USER key
|
JIPolicyHandle |
IJIWinReg.winreg_OpenHKLM()
Opens the HKEY_LOCAL_MACHINE key
|
JIPolicyHandle |
IJIWinReg.winreg_OpenHKU()
Opens the HKEY_USERS key
|
JIPolicyHandle |
IJIWinReg.winreg_OpenKey(JIPolicyHandle handle,
String key,
int accessMask)
Opens the subkey of key specified by handle.
|
byte[] |
IJIWinReg.winreg_QueryValue(JIPolicyHandle handle,
int bufferSize)
Query the key for it's name.
|
Object[] |
IJIWinReg.winreg_QueryValue(JIPolicyHandle handle,
String valueName,
int bufferSize)
Query the key-value for it's value.Please put buffer size more than the
estimated expected value.
|
void |
IJIWinReg.winreg_SaveFile(JIPolicyHandle handle,
String fileName)
Saves registry entries from handle location to local fileName.
|
void |
IJIWinReg.winreg_SetValue(JIPolicyHandle handle,
String valueName)
Sets an empty name-value for a REG_NONE type.
|
void |
IJIWinReg.winreg_SetValue(JIPolicyHandle handle,
String valueName,
byte[][] data)
Sets name-value for a REG_MULTI_SZ type.
|
void |
IJIWinReg.winreg_SetValue(JIPolicyHandle handle,
String valueName,
byte[] data,
boolean binary,
boolean expand_sz)
Sets name-value for a REG_SZ\REG_EXPAND_SZ\REG_BINARY type.
|
void |
IJIWinReg.winreg_SetValue(JIPolicyHandle handle,
String valueName,
int data)
Sets name-value for a REG_DWORD type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JIWinRegStub.closeConnection() |
void |
JIWinRegStub.winreg_CloseKey(JIPolicyHandle handle) |
JIPolicyHandle |
JIWinRegStub.winreg_CreateKey(JIPolicyHandle handle,
String subKey,
int options,
int accessMask) |
void |
JIWinRegStub.winreg_DeleteKeyOrValue(JIPolicyHandle handle,
String valueName,
boolean isKey) |
String[] |
JIWinRegStub.winreg_EnumKey(JIPolicyHandle handle,
int index) |
Object[] |
JIWinRegStub.winreg_EnumValue(JIPolicyHandle handle,
int index) |
JIPolicyHandle |
JIWinRegStub.winreg_OpenHKCR() |
JIPolicyHandle |
JIWinRegStub.winreg_OpenHKCU() |
JIPolicyHandle |
JIWinRegStub.winreg_OpenHKLM() |
JIPolicyHandle |
JIWinRegStub.winreg_OpenHKU() |
JIPolicyHandle |
JIWinRegStub.winreg_OpenKey(JIPolicyHandle handle,
String key,
int accessMask) |
byte[] |
JIWinRegStub.winreg_QueryValue(JIPolicyHandle handle,
int bufferSize) |
Object[] |
JIWinRegStub.winreg_QueryValue(JIPolicyHandle handle,
String valueName,
int bufferSize) |
void |
JIWinRegStub.winreg_SaveFile(JIPolicyHandle handle,
String fileName) |
void |
JIWinRegStub.winreg_SetValue(JIPolicyHandle handle,
String valueName) |
void |
JIWinRegStub.winreg_SetValue(JIPolicyHandle handle,
String valueName,
byte[][] data) |
void |
JIWinRegStub.winreg_SetValue(JIPolicyHandle handle,
String valueName,
byte[] data,
boolean isBinary,
boolean expand_sz) |
void |
JIWinRegStub.winreg_SetValue(JIPolicyHandle handle,
String valueName,
int data) |
Copyright © 2022. All rights reserved.