jgd.register
Class JGDRegister

java.lang.Object
  extended by jgd.register.JGDRegister

public class JGDRegister
extends java.lang.Object


Field Summary
private  ComponentRegistrator compReg
           
private  ICookieStore cookieStore
           
private static java.lang.String JACOB_CLASS
           
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
JGDRegister()
           
JGDRegister(ICookieStore cookieStore)
           
 
Method Summary
protected static java.lang.String calculateDLLPath()
          Try to get 'jacob.dll' DLL path from the 'jacob.jar' directory.
private  java.lang.String generateCookie(java.lang.String GUID)
           
private  java.lang.String generateGUID()
           
 java.lang.String getCookie()
           
 java.lang.String getGUID()
           
 boolean isGDRegistered()
           
 void register()
           
 void setCookieStore(ICookieStore cookieStore)
           
 void unregister()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JACOB_CLASS

private static final java.lang.String JACOB_CLASS
See Also:
Constant Field Values

log

protected static org.apache.commons.logging.Log log

compReg

private ComponentRegistrator compReg

cookieStore

private ICookieStore cookieStore
Constructor Detail

JGDRegister

public JGDRegister()
            throws JGDError
Throws:
JGDError

JGDRegister

public JGDRegister(ICookieStore cookieStore)
            throws JGDError
Throws:
JGDError
Method Detail

isGDRegistered

public boolean isGDRegistered()

getGUID

public java.lang.String getGUID()

getCookie

public java.lang.String getCookie()

generateGUID

private java.lang.String generateGUID()

generateCookie

private java.lang.String generateCookie(java.lang.String GUID)

register

public void register()
              throws JGDError
Throws:
JGDError

unregister

public void unregister()

setCookieStore

public void setCookieStore(ICookieStore cookieStore)
Parameters:
cookieStore - the cookieStore to set

calculateDLLPath

protected static java.lang.String calculateDLLPath()
Try to get 'jacob.dll' DLL path from the 'jacob.jar' directory.



Copyright © 2007