Uses of Class
org.jinterop.dcom.common.JIException

Packages that use JIException
org.jinterop.dcom.core Core library classes and Data structures. 
org.jinterop.dcom.win32 Defines classes for automation
org.jinterop.winreg Defines access to some API of the Windows Registry Interface. 
 

Uses of JIException in org.jinterop.dcom.core
 

Methods in org.jinterop.dcom.core that throw JIException
 void JIStruct.addMember(int position, java.lang.Object member)
          Adds object as member to the index specified.
 void JIStruct.addMember(java.lang.Object member)
          Adds the object as a member of this structure.
 void JIUnion.addMember(java.lang.Object discriminant, JIStruct member)
          Adds a member to this Union.
 void JIUnion.addMember(java.lang.Object discriminant, java.lang.Object member)
          Adds a member to this Union.
 void IJIUnknown.addRef()
          Increases the reference count on the actual COM server by 5 (currently hardcoded).
 java.lang.Object[] IJIComObject.call(JICallObject obj)
          Executes a method call on the actual COM object represented by this interface.
 java.lang.Object[] IJIComObject.call(JICallObject obj, int timeout)
          Executes a method call on the actual COM object represented by this interface.
 IJIComObject JIComServer.createInstance()
          Returns a IJIComObject representing the COM Server.
static void JISession.destroySession(JISession session)
          Used to destroy the session, this release all references of the COM server and it's interfaces.
 JIClsid JIProgId.getCorrespondingCLSID()
          Gets the clsid for this ProgId.
 IJIComObject JIComServer.getInstance()
          Returns a IJIComObject representing the COM Server.
static JIInterfacePointer JIInterfacePointer.getInterfacePointer(JISession session, JIJavaCoClass javaComponent)
          Returns an Interface Pointer representation for the Java Component
 java.lang.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(IJIComObject template)
          Retrieves the contained object as IJIComObject.
 java.util.Date JIVariant.getObjectAsDate()
          Retrieves the contained object as 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.
 JIInterfacePointer JIVariant.getObjectAsInterfacePointer()
          Deprecated. Please use getObjectAsComObject instead.
 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.
 java.lang.String JIVariant.getObjectAsString2()
          Retrieves the contained object as Java 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.
 boolean JIVariant.isArray()
           
 boolean JIVariant.isByRefFlagSet()
           
 IJIUnknown IJIUnknown.queryInterface(java.lang.String iid)
          Used to retrieve interface pointers based on iid.
 void IJIUnknown.release()
           Decreases the reference count on the actual COM server by 5 (currently hardcoded).
 

Constructors in org.jinterop.dcom.core that throw JIException
JIComServer(JIClsid clsid, JISession session)
          Instantiates this object with JIClsid which is, according to MSDN:-
A universally unique identifier (UUID) that identifies a type of Component Object Model (COM) object.
JIComServer(JIClsid clsid, java.lang.String address, JISession session)
          Instantiates this object with JIClsid which is, according to MSDN:-
A universally unique identifier (UUID) that identifies a type of Component Object Model (COM) object.
JIComServer(JIProgId progId, JISession session)
          Instantiates this object with JIProgId which is, according to MSDN:-
A ProgID, or programmatic identifier, is a registry entry that can be associated with a JIClsid.
JIComServer(JIProgId progId, java.lang.String address, JISession session)
           Instantiates this object with JIProgId which is, according to MSDN:-
JIComServer(JISession session, JIInterfacePointer interfacePointer, java.lang.String ipAddress)
           Instantiates a JIComServer represented by the interfacePointer param.
 

Uses of JIException in org.jinterop.dcom.win32
 

Methods in org.jinterop.dcom.win32 that throw JIException
 void IJIOleDocumentSite.activateMe(JIInterfacePointer pViewToActivate)
           
 void JIOleFrame.addRef()
           
static java.lang.String JIComFactory.attachEventHandler(IJIComObject comObject, java.lang.String sourceUUID, JIInterfacePointer eventListener)
           Attaches an Event Handler to this comObject for the source event interface of COM , identified by the sourceUUID.
 void IJIDispatch.callMethod(int dispId)
          Performs a method call for the method identified by the dispId parameter.
 void IJIDispatch.callMethod(int dispId, java.lang.Object[] inparams)
          Performs a method call for the method identified by the dispId parameter.
 void IJIDispatch.callMethod(int dispId, java.lang.Object[] inparams, int[] dispIds)
          Performs a method call for the method identified by the dispId parameter.
 void IJIDispatch.callMethod(java.lang.String name)
          Performs a method call for the method identified by the name parameter.
 void IJIDispatch.callMethod(java.lang.String name, java.lang.Object[] inparams)
          Performs a method call for the method identified by the name parameter.
 void IJIDispatch.callMethod(java.lang.String name, java.lang.Object[] inparams, int[] dispIds)
          Performs a method call for the method identified by the name parameter.
 void IJIDispatch.callMethod(java.lang.String name, java.lang.Object[] inparams, java.lang.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, java.lang.Object[] inparams)
          Performs a method call for the method identified by the dispId parameter.
 JIVariant[] IJIDispatch.callMethodA(int dispId, java.lang.Object[] inparams, int[] dispIds)
          Performs a method call for the method identified by the dispId parameter.
 JIVariant IJIDispatch.callMethodA(java.lang.String name)
          Performs a method call for the method identified by the name parameter.
 JIVariant[] IJIDispatch.callMethodA(java.lang.String name, java.lang.Object[] inparams)
          Performs a method call for the method identified by the name parameter.
 JIVariant[] IJIDispatch.callMethodA(java.lang.String name, java.lang.Object[] inparams, int[] dispIds)
          Performs a method call for the method identified by the name parameter.
 JIVariant[] IJIDispatch.callMethodA(java.lang.String name, java.lang.Object[] inparams, java.lang.String[] paramNames)
          Performs a method call for the method identified by the name parameter.
 void IJIOleInPlaceSite.canInPlaceActivate()
           
 IJIEnumVARIANT IJIEnumVARIANT.Clone()
          From MSDN:- Creates a copy of the current state of enumeration.
 void IJIOleObject.close(int dwSaveOption)
           
 void IJIOleDocumentView.closeView(int dwReserved)
           
 void JIOleFrame.contextSensitiveHelp(boolean fEnterMode)
           
 void IJIOleWindow.contextSensitiveHelp(boolean fEnterMode)
           
static IJIComObject JIComFactory.createCOMInstance(IJIComObject template, JIInterfacePointer ptr)
          Returns an IJIComObject as reference to the interface defined by ptr.getIID().
static IJIComObject JIComFactory.createCOMInstance(java.lang.String IID, IJIComObject iUnknown)
          Returns an IJIComObject as reference to the interface defined by IID.
 IJIUnknown IJITypeInfo.createInstance(java.lang.String riid)
          Creates a new instance of a type that describes a component object class (coclass).
 void IJIOleInPlaceSite.deactivateAndUndo()
           
static void JIComFactory.detachEventHandler(IJIComObject comObject, java.lang.String identifier)
          Detaches the event handler identified by identifier and associated with this comObject.
 void IJIOleInPlaceSite.discardUndoState()
           
 void IJIOleObject.doVerb(int iVerb, JIStruct lpmsg, IJIOleClientSite pActiveSite, int lindex, int hwndParent, JIRect lprcPosRect)
           
 void JIOleFrame.enableModeless(boolean fEnable)
           
 void IJIOleInPlaceFrame.enableModeless(boolean fEnable)
           
 void IJIOleInPlaceActiveObject.enableModeless(boolean fEnable)
           
 java.lang.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, java.lang.Object[] inparams)
          Performs a propget for the method identified by the dispId parameter.
 JIVariant IJIDispatch.get(java.lang.String name)
          Performs a propget for the method identified by the name parameter.
 JIVariant[] IJIDispatch.get(java.lang.String name, java.lang.Object[] inparams)
          Performs a propget for the method identified by the name parameter.
 JIStruct JIOleFrame.getBorder()
           
 JIStruct IJIOleInPlaceUIWindow.getBorder()
           
 IJIOleClientSite IJIOleObject.getClientSite()
           
 JIInterfacePointer IJIOleClientSite.getContainer()
           
 java.lang.Object[] IJITypeInfo.getContainingTypeLib()
          Retrieves the containing type library and the index of the type description within that type library.
 java.lang.Object[] IJITypeInfo.getDllEntry(int memberId, int invKind)
          Retrieves a description or specification of an entry point for a function in a DLL.
 JIInterfacePointer IJIOleDocumentView.getDocument()
           
 java.lang.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.
 java.lang.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.
 JIStruct IJIOleObject.getExtent(int dwDrawAspect)
           
 FuncDesc IJITypeInfo.getFuncDesc(int index)
          Retrieves the FuncDesc structure that contains information about a specified function.
 int IJIDispatch.getIDsOfNames(java.lang.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(java.lang.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.
 JIInterfacePointer IJIOleDocumentView.getInPlaceSite()
           
 void IJITypeLib.getLibAttr()
          Retrieves the structure that contains the library's attributes.
 int IJIOleObject.getMiscStatus(int dwAspect)
           
 IJIMoniker IJIOleObject.getMoniker(int dwAssign, int dwWhichMoniker)
           
 JIString IJITypeInfo.getMops(int memberId)
          Retrieves marshaling information.
 java.lang.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.
 JIStruct IJIOleDocumentView.getRect()
           
 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 IJITypeLib.getTypeInfo(int index)
          Retrieves the specified type description in the library.
 IJITypeInfo IJIDispatch.getTypeInfo(int typeInfo)
          Returns an j-Interop implementation of COM ITypeInfo interface based on the typeInfo .
 int IJITypeLib.getTypeInfoCount()
          Returns the number of type descriptions in the type library.
 int IJIDispatch.getTypeInfoCount()
          From MSDN:
Determines whether there is type information available for the dual interface.
 IJITypeInfo IJITypeLib.getTypeInfoOfGuid(java.lang.String uuid)
          Retrieves the type description that corresponds to the specified GUID.
 int IJITypeLib.getTypeInfoType(int index)
          Retrieves the type of a type description.
 JIString IJIOleObject.getUserClassID()
           
 JIString IJIOleObject.getUserType(int dwFormOfType)
           
 VarDesc IJITypeInfo.getVarDesc(int index)
          Retrieves a VARDESC structure that describes the specified variable.
 int JIOleFrame.getWindow()
           
 int IJIOleWindow.getWindow()
           
 JIStruct IJIOleInPlaceSite.getWindowContext(JIStruct lpFrameInfo)
          IJIOleInPlaceFrame ppFrame, IJIOleInPlaceUIWindow ppDoc, JIRect lprcPosRect, JIRect lprcClipRect
 JIStruct JIOleFrame.insertMenus(int hmenuShared, JIStruct lpMenuWidths)
           
 JIStruct IJIOleInPlaceFrame.insertMenus(int hmenuShared, JIStruct lpMenuWidths)
          typedef struct tagOleMenuGroupWidths { LONG width[6]; } OLEMENUGROUPWIDTHS, * LPOLEMENUGROUPWIDTHS;
 JIInterfacePointer IJIOleDocumentView.invokeClone(JIInterfacePointer pIPSiteNew)
           
 void IJIOleObject.isUpToDate()
           
 java.lang.Object[] IJIEnumVARIANT.next(int celt)
          From MSDN:- Attempts to get the next celt items in the enumeration sequence.
 void IJIOleInPlaceActiveObject.onDocWindowActivate(boolean fActivate)
           
 void IJIOleInPlaceActiveObject.onFrameWindowActivate(boolean fActivate)
           
 void IJIOleInPlaceSite.onInPlaceActivate()
           
 void IJIOleInPlaceSite.onInPlaceDeactivate()
           
 void IJIOleInPlaceSite.onPosRectChange(JIRect lprcPosRect)
           
 void IJIOleClientSite.onShowWindow(boolean fShow)
           
 void IJIOleInPlaceSite.onUIActivate()
           
 void IJIOleInPlaceSite.onUIDeactivate(boolean fUndoable)
           
 void IJIOleDocumentView.open()
           
 void IJIDispatch.put(int dispId, JIVariant inparam)
          Performs a propput for the method identified by the dispId.
 void IJIDispatch.put(int dispId, java.lang.Object[] params)
          Performs a propput for the method identified by the dispId.
 void IJIDispatch.put(java.lang.String name, JIVariant inparam)
          Performs a propput for the method identified by the name parameter.
 void IJIDispatch.put(java.lang.String name, java.lang.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, java.lang.Object[] params)
          Performs a propputref for the method identified by the dispId.
 void IJIDispatch.putRef(java.lang.String name, JIVariant inparam)
          Performs a propput for the method identified by the name parameter.
 void IJIDispatch.putRef(java.lang.String name, java.lang.Object[] params)
          Performs a propput for the method identified by the name parameter.
 IJIUnknown JIOleFrame.queryInterface(java.lang.String iid)
           
 void JIOleFrame.release()
           
 void JIOleFrame.removeMenus(int hmenuShared)
           
 void IJIOleInPlaceFrame.removeMenus(int hmenuShared)
           
 void JIOleFrame.requestBorderSpace(JIStruct pborderwidths)
           
 void IJIOleInPlaceUIWindow.requestBorderSpace(JIStruct pborderwidths)
           
 void IJIOleClientSite.requestNewObjectLayout()
           
 void IJIEnumVARIANT.reset()
          From MSDN:- Resets the enumeration sequence to the beginning.
 void IJIOleInPlaceActiveObject.resizeBorder(JIRect prcBorder, IJIOleInPlaceUIWindow pUIWindow, boolean fFrameWindow)
           
 void IJIOleClientSite.saveObject()
           
 void IJIOleInPlaceSite.scroll(int scrollX, int scrollY)
           
 void JIOleFrame.setActiveObject(JIInterfacePointer pActiveObject, JIString pszObjName)
           
 void IJIOleInPlaceUIWindow.setActiveObject(JIInterfacePointer pActiveObject, JIString pszObjName)
           
 void JIOleFrame.setBorderSpace(JIStruct pborderwidths)
           
 void IJIOleInPlaceUIWindow.setBorderSpace(JIStruct pborderwidths)
           
 void IJIOleObject.setClientSite(IJIOleClientSite ppClientSite)
           
 void IJIOleObject.setColorScheme(JIStruct pLogpal)
           
 void IJIOleObject.setExtent(int dwDrawAspect, JIStruct pSIZE)
           
 void IJIOleObject.setHostNames(JIString szContainerApp, JIString szContainerObj)
           
 void IJIOleDocumentView.setInPlaceSite(JIInterfacePointer pIPSite)
           
 void JIOleFrame.setMenu(int hmenuShared, int holemenu, int hwndActiveObject)
           
 void IJIOleInPlaceFrame.setMenu(int hmenuShared, int holemenu, int hwndActiveObject)
           
 void IJIOleObject.setMoniker(int dwWhichMoniker, IJIMoniker pmIMoniker)
           
 void IJIOleDocumentView.setRect(JIStruct prcView)
           
 void IJIOleDocumentView.setRectComplex(JIStruct prcView, JIStruct prcHScroll, JIStruct prcVScroll, JIStruct prcSizeBox)
           
 void JIOleFrame.setStatusText(JIString pszStatusText)
           
 void IJIOleInPlaceFrame.setStatusText(JIString pszStatusText)
           
 void IJIOleDocumentView.show(boolean fShow)
           
 void IJIOleClientSite.showObject()
           
 void IJIEnumVARIANT.skip(int celt)
          From MSDN:- Attempts to skip over the next celt elements in the enumeration sequence.
 void JIOleFrame.testShowWindow()
           
 void IJIOleInPlaceActiveObject.translateAccelerator(JIStruct lpmsg)
           
 void JIOleFrame.translateAccelerator(JIStruct lpmsg, int wID)
           
 void IJIOleInPlaceFrame.translateAccelerator(JIStruct lpmsg, int wID)
          typedef struct tagMSG { // msg HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; } MSG;
 void IJIOleDocumentView.UIActivate(boolean fUIActivate)
           
 void IJIOleObject.unadvise(int dwConnection)
           
 void IJIOleObject.update()
           
 

Constructors in org.jinterop.dcom.win32 that throw JIException
JIOleFrame(JISession session, int frameIdentifier, IJIComObject inplaceObject)
          Creates a frame object.
 

Uses of JIException in org.jinterop.winreg
 

Methods in org.jinterop.winreg that throw JIException
 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, java.lang.String subKey, int options, int accessMask)
          Creates a new key by name subKey under the handle.
 void IJIWinReg.winreg_DeleteKeyOrValue(JIPolicyHandle handle, java.lang.String valueName, boolean isKey)
          Deletes a key or value specified by valueName.
 java.lang.String[] IJIWinReg.winreg_EnumKey(JIPolicyHandle handle, int index)
          Returns name and class (in that order) for the key identified by index under parent handle.
 java.lang.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, java.lang.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.
 java.lang.Object[] IJIWinReg.winreg_QueryValue(JIPolicyHandle handle, java.lang.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, java.lang.String fileName)
          Saves registry entries from handle location to local fileName.
 void IJIWinReg.winreg_SetValue(JIPolicyHandle handle, java.lang.String valueName)
          Sets an empty name-value for a REG_NONE type.
 void IJIWinReg.winreg_SetValue(JIPolicyHandle handle, java.lang.String valueName, byte[][] data)
          Sets name-value for a REG_MULTI_SZ type.
 void IJIWinReg.winreg_SetValue(JIPolicyHandle handle, java.lang.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, java.lang.String valueName, int data)
          Sets name-value for a REG_DWORD type.