Package com.ms.com |
|
 Previous |
 Packages |
 Index |
 Next |
About com.ms.com
You can use the classes and interfaces in the com.ms.com package when implementing Component Object Module (COM) services from Java. However, only trusted Java applets can use COM services. Trusted applets are applets that are loaded from the local computer or are packaged in a cabinet (.cab) file that has a digital signature.
Certain classes in com.ms.com are used by internal operations and must be installed on your host system for the com.ms.com package to work correctly. Any Java applications you create, however, never need to call these classes directly. These classes include:
- AnsiStringMarshaller
- Converts LPCSTR to java.lang.string.
- CUnknown
- Serves as the default class for Java-callable wrappers. These wrappers belong to COM interfaces that are marshaled to Java interfaces.
- UniStringMarshaller
- Converts LPWSTR to java.lang.string.
Classes
- Class ComContext
- Defines constants for use with the ILicenseMgr interface.
- Class ComError
- Signals errors when linking Java and COM objects.
- Class ComException
- Wraps an HRESULT, the return type for most methods in COM.
- Class ComFailException
- Wraps an HRESULT, the return type for most methods in COM.
- Class ComLib
- Contains miscellaneous routines that are used during Java/COM integration.
- Class ComSuccessException
- Wraps an HRESULT, the return type for most methods in COM.
- Class ConnectionPointCookie
- Creates a connection between a source and sink object.
- Class Dispatch
- Allows Java programs to invoke methods and access properties on any ActiveX Automation object.
- Class DispatchProxy
- Wraps a dispatchable object with a Java interface.
- Class LicenseMgr
- Implements the ILicenseMgr interface. You can then use licensed COM components or controls from your Java application.
- Class SafeArray
- Wraps an ActiveX Automation SAFEARRAY data structure. SafeArray is used to bridge Java with Automation objects.
- Class Variant
- Bridges Java with ActiveX components that manipulate VARIANT data types.
- Class WrongThreadException
- Indicates that a method call could not be made because it was called on the wrong thread.
- Class _Guid
- Represents Globally Unique Identifiers (GUIDs). GUIDs are 128-bit integer values that are used to assign world-wide unique identifications for COM interfaces and CoClasses.
Interfaces
- Interface IAccessible
- Provides methods that enable clients to request selection and focus information, perform hit tests, and navigate using object and child identifiers.
- Interface ILicenseMgr
- Supports use of licensed COM components or controls from your Java application.
- Interface IUnknown
- Used as the return type for COM methods that return arbitrary COM interfaces.
- Interface NoAutoScripting
- Prevents the virtual machine from including its own IDispatch implementation.