org.jinterop.dcom.core
Class JIClsid

java.lang.Object
  extended by org.jinterop.dcom.core.JIClsid

public class JIClsid
extends java.lang.Object

Wrapper for class identifier for a COM Object.
Definition from MSDN: A universally unique identifier (UUID) that identifies a type of Component Object Model (COM) object. Each type of COM object item has its JIClsid in the registry so that it can be loaded and used by other applications. For example, a spreadsheet may create worksheet items, chart items, and macrosheet items. Each of these item types has its own JIClsid that uniquely identifies it to the system.
For e.g. Excel application has clsid of "00024500-0000-0000-C000-000000000046".

Since:
1.0

Method Summary
 java.lang.String getCLSID()
          String representation of the wrapped class identifier.
 boolean isAutoRegistrationSet()
          Returns true is auto registration is enabled.
 void setAutoRegistration(boolean autoRegister)
          Pass true if, this is an OCX\DLL component and you want the library to do auto registration.
static JIClsid valueOf(java.lang.String uuid)
          String representing the class identifier for a particular COM object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setAutoRegistration

public void setAutoRegistration(boolean autoRegister)
Pass true if, this is an OCX\DLL component and you want the library to do auto registration.

Parameters:
autoRegister -

isAutoRegistrationSet

public boolean isAutoRegistrationSet()
Returns true is auto registration is enabled.

Returns:

valueOf

public static JIClsid valueOf(java.lang.String uuid)
String representing the class identifier for a particular COM object.

Parameters:
uuid - - clsid of the form "00000000-0000-0000-0000-000000000000"
Returns:
- Instance of JIClsid

getCLSID

public java.lang.String getCLSID()
String representation of the wrapped class identifier.

Returns:
uuid of the form "00000000-0000-0000-0000-000000000000"