com.sun.enterprise.registration.impl
Class SysnetRegistrationService
java.lang.Object
com.sun.enterprise.registration.impl.SysnetRegistrationService
- All Implemented Interfaces:
- RegistrationService
public class SysnetRegistrationService
- extends java.lang.Object
- implements RegistrationService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SysnetRegistrationService
public SysnetRegistrationService(java.io.File localRepositoryFile)
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.