com.sun.enterprise.registration.impl
Class SysnetRegistrationService

java.lang.Object
  extended by com.sun.enterprise.registration.impl.SysnetRegistrationService
All Implemented Interfaces:
RegistrationService

public class SysnetRegistrationService
extends java.lang.Object
implements RegistrationService


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.enterprise.registration.RegistrationService
RegistrationService.RegistrationReminder, RegistrationService.RegistrationStatus
 
Constructor Summary
SysnetRegistrationService(java.io.File localRepositoryFile)
           
 
Method Summary
 void createRegistrationAccount(RegistrationAccount soa)
           
 java.util.List getRegistrationDescriptors()
           
 java.util.List getRegistrationDescriptors(RegistrationDescriptor.RegistrationStatus status)
           
 java.util.List getRegistrationDescriptors(java.lang.String productURN)
           
 RegistrationService.RegistrationReminder getRegistrationReminder()
           
 RegistrationService.RegistrationStatus getRegistrationStatus()
           
 boolean isRegistrationEnabled()
           
 void register(RegistrationAccount account)
           
 void setRegistrationReminder(RegistrationService.RegistrationReminder reminder)
           
 void setRegistrationStatus(RegistrationService.RegistrationStatus status)
           
 void transferEligibleServiceTagsToSysNet()
          Transfers locally-registered service tags that have not yet been transferred to the SysNet repository to the SysNet repository using the stclient utility and also updates the service tag's status in the private repository to record the transfer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SysnetRegistrationService

public SysnetRegistrationService(java.io.File localRepositoryFile)
Method Detail

isRegistrationEnabled

public boolean isRegistrationEnabled()
Specified by:
isRegistrationEnabled in interface RegistrationService

register

public void register(RegistrationAccount account)
              throws RegistrationException,
                     java.net.ConnectException,
                     java.net.UnknownHostException
Throws:
RegistrationException
java.net.ConnectException
java.net.UnknownHostException

createRegistrationAccount

public void createRegistrationAccount(RegistrationAccount soa)
                               throws RegistrationException
Throws:
RegistrationException

getRegistrationDescriptors

public java.util.List getRegistrationDescriptors()
                                          throws RegistrationException
Specified by:
getRegistrationDescriptors in interface RegistrationService
Throws:
RegistrationException

getRegistrationDescriptors

public java.util.List getRegistrationDescriptors(java.lang.String productURN)
                                          throws RegistrationException
Specified by:
getRegistrationDescriptors in interface RegistrationService
Throws:
RegistrationException

getRegistrationDescriptors

public java.util.List getRegistrationDescriptors(RegistrationDescriptor.RegistrationStatus status)
                                          throws RegistrationException
Specified by:
getRegistrationDescriptors in interface RegistrationService
Throws:
RegistrationException

getRegistrationReminder

public RegistrationService.RegistrationReminder getRegistrationReminder()
                                                                 throws RegistrationException
Specified by:
getRegistrationReminder in interface RegistrationService
Throws:
RegistrationException

setRegistrationReminder

public void setRegistrationReminder(RegistrationService.RegistrationReminder reminder)
                             throws RegistrationException
Specified by:
setRegistrationReminder in interface RegistrationService
Throws:
RegistrationException

getRegistrationStatus

public RegistrationService.RegistrationStatus getRegistrationStatus()
                                                             throws RegistrationException
Specified by:
getRegistrationStatus in interface RegistrationService
Throws:
RegistrationException

setRegistrationStatus

public void setRegistrationStatus(RegistrationService.RegistrationStatus status)
                           throws RegistrationException
Throws:
RegistrationException

transferEligibleServiceTagsToSysNet

public void transferEligibleServiceTagsToSysNet()
                                         throws RegistrationException
Transfers locally-registered service tags that have not yet been transferred to the SysNet repository to the SysNet repository using the stclient utility and also updates the service tag's status in the private repository to record the transfer.

Throws:
RegistrationException - for errors reading the local repository or invoking stclient to transfer them


Copyright © 2012 GlassFish Community. All Rights Reserved.