com.sun.enterprise.registration.glassfish
Class RegistrationUtil

java.lang.Object
  extended by com.sun.enterprise.registration.glassfish.RegistrationUtil

public class RegistrationUtil
extends java.lang.Object


Constructor Summary
RegistrationUtil()
           
 
Method Summary
static java.lang.String getGFInstanceURN()
           
static java.lang.String getGFProductURN()
           
static java.io.File getRegistrationHome()
           
static java.io.File getRegistrationHome(java.lang.String installRoot)
           
static java.io.File getServiceTagRegistry()
           
static java.io.File getServiceTagRegistry(java.lang.String installRoot)
           
static com.sun.pkg.client.Image getUpdateCenterImage()
           
static void setUpdateCenterUUID(java.lang.String instanceURN)
           
static void synchUUID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationUtil

public RegistrationUtil()
Method Detail

getRegistrationHome

public static java.io.File getRegistrationHome()
Returns:
home for registration

getRegistrationHome

public static java.io.File getRegistrationHome(java.lang.String installRoot)
Returns:
home for registration relative to an installRoot

getServiceTagRegistry

public static java.io.File getServiceTagRegistry()
Returns:
Service tag file. Please note that it is possible that the file may not actually exist

getServiceTagRegistry

public static java.io.File getServiceTagRegistry(java.lang.String installRoot)
Returns:
Service tag file relative to an installRoot. Please note that it is possible that the file may not actually exist

getGFProductURN

public static java.lang.String getGFProductURN()
                                        throws RegistrationException
Throws:
RegistrationException

getGFInstanceURN

public static java.lang.String getGFInstanceURN()
                                         throws RegistrationException
Throws:
RegistrationException

synchUUID

public static void synchUUID()
                      throws RegistrationException
Throws:
RegistrationException

getUpdateCenterImage

public static com.sun.pkg.client.Image getUpdateCenterImage()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

setUpdateCenterUUID

public static void setUpdateCenterUUID(java.lang.String instanceURN)
                                throws RegistrationException
Throws:
RegistrationException


Copyright © 2012 GlassFish Community. All Rights Reserved.