public class EurekaRestServerDecorator extends org.refcodes.rest.AbstractHttpRegistryRestServerDecorator<EurekaServerDescriptor,EurekaRestServer> implements EurekaRestServer
EurekaRestServerDecorator
decorates a given
HttpRestServer
with functionality such registering and unregistering
from / to a Eureka discovery service.Modifier and Type | Class and Description |
---|---|
class |
EurekaRestServerDecorator.HeartBeatDaemon |
org.refcodes.component.Configurable.ConfigureAutomaton<CTX>, org.refcodes.component.Configurable.ConfigureBuilder<CTX,B extends org.refcodes.component.Configurable.ConfigureBuilder<CTX,B>>
org.refcodes.net.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup
org.refcodes.net.RealmAccessor.RealmBuilder<B extends org.refcodes.net.RealmAccessor.RealmBuilder<B>>, org.refcodes.net.RealmAccessor.RealmMutator, org.refcodes.net.RealmAccessor.RealmProperty
org.refcodes.net.BaseLocatorAccessor.BaseLocatorBuilder<B extends org.refcodes.net.BaseLocatorAccessor.BaseLocatorBuilder<B>>, org.refcodes.net.BaseLocatorAccessor.BaseLocatorMutator, org.refcodes.net.BaseLocatorAccessor.BaseLocatorProperty
org.refcodes.component.LinkComponent.LinkAutomaton, org.refcodes.component.LinkComponent.LinkComponentBuilder<B extends org.refcodes.component.LinkComponent.LinkComponentBuilder<B>>
org.refcodes.component.Openable.OpenAutomaton, org.refcodes.component.Openable.OpenBuilder<B extends org.refcodes.component.Openable.OpenBuilder<B>>
org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusProperty
org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,B extends org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,B>>
org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<CON>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,B extends org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,B>>
org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
org.refcodes.mixin.PortAccessor.PortBuilder<B extends org.refcodes.mixin.PortAccessor.PortBuilder<B>>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty
org.refcodes.net.SchemeAccessor.SchemeBuilder<B extends org.refcodes.net.SchemeAccessor.SchemeBuilder<B>>, org.refcodes.net.SchemeAccessor.SchemeMutator, org.refcodes.net.SchemeAccessor.SchemeProperty
org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B extends org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B>>, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorProperty
org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<B extends org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<B>>, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutator, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsProperty
org.refcodes.rest.PingPathAccessor.PingPathBuilder<B extends org.refcodes.rest.PingPathAccessor.PingPathBuilder<?>>, org.refcodes.rest.PingPathAccessor.PingPathMutator, org.refcodes.rest.PingPathAccessor.PingPathProperty
org.refcodes.net.HostAccessor.HostBuilder<B extends org.refcodes.net.HostAccessor.HostBuilder<?>>, org.refcodes.net.HostAccessor.HostMutator, org.refcodes.net.HostAccessor.HostProperty
org.refcodes.net.VirtualHostAccessor.VirtualHostBuilder<B extends org.refcodes.net.VirtualHostAccessor.VirtualHostBuilder<?>>, org.refcodes.net.VirtualHostAccessor.VirtualHostMutator, org.refcodes.net.VirtualHostAccessor.VirtualHostProperty
org.refcodes.net.IpAddressAccessor.IpAddressBuilder<B extends org.refcodes.net.IpAddressAccessor.IpAddressBuilder<B>>, org.refcodes.net.IpAddressAccessor.IpAddressMutator, org.refcodes.net.IpAddressAccessor.IpAddressProperty
org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B extends org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B>>, org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator, org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleComponent.UncheckedLifeCycleComponent
org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializable
org.refcodes.component.InitializedAccessor.InitializedMutator, org.refcodes.component.InitializedAccessor.InitializedProperty
org.refcodes.component.Startable.StartAutomaton, org.refcodes.component.Startable.StartBuilder<B extends org.refcodes.component.Startable.StartBuilder<B>>, org.refcodes.component.Startable.UncheckedStartable
org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Pausable.PauseBuilder<B extends org.refcodes.component.Pausable.PauseBuilder<B>>, org.refcodes.component.Pausable.UncheckedPausable
org.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.Resumable.ResumeBuilder<B extends org.refcodes.component.Resumable.ResumeBuilder<B>>, org.refcodes.component.Resumable.UncheckedResumable
org.refcodes.component.RunningAccessor.RunningMutator, org.refcodes.component.RunningAccessor.RunningProperty
org.refcodes.component.Stoppable.StopAutomaton, org.refcodes.component.Stoppable.StopBuilder<B extends org.refcodes.component.Stoppable.StopBuilder<B>>, org.refcodes.component.Stoppable.UncheckedStoppable
org.refcodes.component.Destroyable.DestroyAutomaton
org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusMutator, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusProperty
org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC extends org.refcodes.rest.HttpServerDescriptor,B extends org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC,B>>, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC extends org.refcodes.rest.HttpServerDescriptor>, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC extends org.refcodes.rest.HttpServerDescriptor>
org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B extends org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B>>, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlMutator, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlProperty
org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
EurekaDataCenterTypeAccessor.EurekaDataCenterTypeBuilder<B extends EurekaDataCenterTypeAccessor.EurekaDataCenterTypeBuilder<?>>, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeMutator, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeProperty
_lifeCycleAutomaton
EUREKA_BASE_PATH
Constructor and Description |
---|
EurekaRestServerDecorator(org.refcodes.rest.HttpRestServer aServer)
Decorates the given
HttpRestServer with discovery functionality. |
EurekaRestServerDecorator(org.refcodes.rest.HttpRestServer aServer,
ExecutorService aExecutorService)
Decorates the given
HttpRestServer with discovery functionality. |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys this service by removing it from the the attached registry
server.
|
protected void |
doDeregister() |
protected void |
doDeregister(String aAlias,
String aInstanceId,
String aHost,
org.refcodes.net.Url aRegistryUrl,
org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
protected void |
doRegister(EurekaServiceStatus aServiceStatus,
EurekaServerDescriptor aServerDescriptor,
org.refcodes.net.Url aRegistryUrl,
org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
protected void |
doRegisterUp() |
protected void |
doStatusDown() |
protected void |
doStatusOutOfService() |
protected void |
doStatusUnknown() |
protected void |
doStatusUp() |
protected void |
doStatusUpdate(EurekaServiceStatus aServiceStatus,
String aAlias,
String aInstanceId,
String aHost,
org.refcodes.net.Url aRegistryUrl,
org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
org.refcodes.component.ConnectionStatus |
getConnectionStatus() |
EurekaDataCenterType |
getEurekaDataCenterType()
Retrieves the Eureka data center type from the Eureka data center type
property.
|
void |
initialize()
This method or the like
initialize methods initializes this
service by registering it with the status
EurekaServiceStatus.STARTING to the attached registry server. |
void |
initialize(EurekaServerDescriptor aServerDescriptor,
org.refcodes.net.Url aRegistryUrl,
org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
void |
initialize(String aAlias,
String aInstanceId,
org.refcodes.data.Scheme aScheme,
String aHost,
String aVirtualHost,
int[] aIpAddress,
int aPort,
String aPingPath,
EurekaDataCenterType aDataCenterType,
org.refcodes.net.Url aRegistryUrl)
Eureka uses the host as instance-ID!
|
boolean |
isObserversActive() |
void |
pause()
Pauses this service by registering it with the status
EurekaServiceStatus.DOWN to the attached registry server. |
void |
resume()
Resumes this service by updating the status
EurekaServiceStatus.UP to the attached registry server. |
void |
setEurekaDataCenterType(EurekaDataCenterType aDataCenterType)
Sets the Eureka data center type for the Eureka data center type
property.
|
void |
setObserversActive(boolean isActive) |
void |
start()
Starts this service by registering with the status
EurekaServiceStatus.UP to the attached registry server. |
void |
stop()
Stops this service by updating the status
EurekaServiceStatus.OUT_OF_SERVICE to the attached registry
server. |
protected AmazonMetaData |
toAmazonMetaData() |
protected EurekaDataCenterType |
toDataCenterType(EurekaDataCenterType aDataCenterType) |
EurekaServerDescriptor |
toHttpServerDescriptor(String aAlias,
String aInstanceId,
org.refcodes.data.Scheme aScheme,
String aHost,
String aVirtualHost,
int[] aIpAddress,
int aPort,
String aPingPath,
EurekaDataCenterType aDataCenterType)
Prepares the
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. |
protected String |
toInstanceId(String aInstanceId,
String aHost)
Tries to take an AWS instance ID into account.
|
protected org.refcodes.net.Url |
toRegistryUrl(org.refcodes.net.Url aRegistryUrl) |
getAlias, getHost, getHttpRegistryUrl, getHttpServerDescriptor, getInstanceId, getIpAddress, getLifeCycleStatus, getPingPath, getTrustStoreDescriptor, getVirtualHost, isDestroyable, isDestroyed, isInitalizable, isInitialized, isPausable, isPaused, isResumable, isRunning, isStartable, isStoppable, isStopped, setAlias, setHost, setHttpRegistryUrl, setHttpServerDescriptor, setInstanceId, setIpAddress, setPingPath, setTrustStoreDescriptor, setVirtualHost, toAlias, toHost, toHttpRegistryUrl, toHttpServerDescriptor, toIpAddress, toPingPath, toPort, toScheme, toTrustStoreDescriptor, toVirtualHost
addMediaTypeFactory, close, closeIn, closeQuietly, closeUnchecked, disableRequestCorrelation, disableSessionCorrelation, enableRequestCorrelation, enableSessionCorrelation, getBaseLocator, getFactoryMediaTypes, getKeyStoreDescriptor, getMaxConnections, getPort, getRealm, getScheme, hasMediaTypeFactory, hasObserverSubscription, hasRequestCorrelation, hasSessionCorrelation, observers, onBasicAuthRequest, onConnectionRequest, onDelete, onGet, onPost, onPut, onRequest, onRequest, onRequest, open, open, open, open, openUnchecked, setBaseLocator, setKeyStoreDescriptor, setMaxConnections, setPort, setProtocol, setRealm, setRequestCorrelation, setScheme, setSessionCorrelation, subscribeObserver, toMediaTypeFactory, toProtocol, unsubscribeObserver, withBaseLocator, withClose, withCloseIn, withCloseQuietly, withCloseUnchecked, withDisableRequestCorrelation, withDisableSessionCorrelation, withEnableRequestCorrelation, withEnableSessionCorrelation, withOpen, withOpenUnchecked, withRealm, withRequestCorrelation, withSessionCorrelation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, toHttpServerDescriptor, withEurekaDataCenterType
initialize, initialize, initialize, initialize, initialize, toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor, withAlias, withCidrNotation, withHost, withHttpRegistryUrl, withHttpServerDescriptor, withInstanceId, withIpAddress, withPingPath, withTrustStoreDescriptor, withVirtualHost
open, open, open, open, open, open, open, open, open, open, open, open, open, withBaseLocator, withClose, withCloseIn, withCloseQuietly, withDisableRequestCorrelation, withDisableSessionCorrelation, withEnableRequestCorrelation, withEnableSessionCorrelation, withKeyStoreDescriptor, withMaxConnections, withOpen, withPort, withProtocol, withRealm, withRequestCorrelation, withScheme, withSessionCorrelation
onDelete, onGet, onPost, onPut, onRequest, onRequest, onRequest, withDisableObservers, withEnableObservers, withObserversActive
hasObserverSubscription, subscribeObserver, unsubscribeObserver
disableObservers, enableObservers, observers
addMediaTypeFactory
getFactoryMediaTypes, hasMediaTypeFactory, toMediaTypeFactory
setBaseLocator
disableRequestCorrelation, enableRequestCorrelation, hasRequestCorrelation, setRequestCorrelation
disableSessionCorrelation, enableSessionCorrelation, hasSessionCorrelation, setSessionCorrelation
close, closeIn, closeQuietly, closeUnchecked
withOpenUnchecked
onConnectionRequest
setProtocol, setScheme
getKeyStoreDescriptor
setKeyStoreDescriptor
setMaxConnections
setVirtualHost
fromCidrNotation, setIpAddress
setInstanceId
isInitalizable
isPausable, isPaused
isStoppable, isStopped
isDestroyable, isDestroyed
getHttpServerDescriptor
setHttpServerDescriptor
setHttpRegistryUrl
public EurekaRestServerDecorator(org.refcodes.rest.HttpRestServer aServer)
HttpRestServer
with discovery functionality.aServer
- The HttpRestServer
to be decorated.public EurekaRestServerDecorator(org.refcodes.rest.HttpRestServer aServer, ExecutorService aExecutorService)
HttpRestServer
with discovery functionality.aServer
- The HttpRestServer
to be decorated.aExecutorService
- An executor service to be used when creating
Thread
s.public void initialize(String aAlias, String aInstanceId, org.refcodes.data.Scheme aScheme, String aHost, String aVirtualHost, int[] aIpAddress, int aPort, String aPingPath, EurekaDataCenterType aDataCenterType, org.refcodes.net.Url aRegistryUrl) throws org.refcodes.component.InitializeException
HttpRegistryRestServer
by registering it at the
service registry.initialize
in interface EurekaRestServer
aAlias
- The name ("alias") which identifies the server in the
registry.aInstanceId
- The ID for the instance when being registered at the
service registry. If omitted, then the host name is used.aScheme
- The Scheme
to which this server is being attached
(HTTP or HTTPS).aHost
- The host name to be used to address this server. If omitted,
then the system's host name should be used.aVirtualHost
- The virtual host name to be used for resolving.aIpAddress
- The IP-Address identifying the host.aPort
- The port of your service being registered. Make sure, you do
notaPingPath
- The path to use as health-check end-point by this
server.aDataCenterType
- The type of the data center your
EurekaRestServer
is running in.aRegistryUrl
- The registry server where to register.org.refcodes.component.InitializeException
- thrown in case initializing a component
caused problems. Usually a method similar to "initialize()"
throws such an exception.public void initialize() throws org.refcodes.component.InitializeException
EurekaRestServer
initialize
methods initializes this
service by registering it with the status
EurekaServiceStatus.STARTING
to the attached registry server.
initialize
in interface org.refcodes.component.Initializable
initialize
in interface EurekaRestServer
initialize
in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor>
initialize
in class org.refcodes.rest.AbstractHttpRegistryRestServerDecorator<EurekaServerDescriptor,EurekaRestServer>
org.refcodes.component.InitializeException
public void initialize(EurekaServerDescriptor aServerDescriptor, org.refcodes.net.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) throws org.refcodes.component.InitializeException
initialize
in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor>
org.refcodes.component.InitializeException
public void start() throws org.refcodes.component.StartException
EurekaRestServer
EurekaServiceStatus.UP
to the attached registry server.
start
in interface org.refcodes.component.Startable
start
in interface EurekaRestServer
start
in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor>
start
in class org.refcodes.rest.AbstractHttpRegistryRestServerDecorator<EurekaServerDescriptor,EurekaRestServer>
org.refcodes.component.StartException
public void pause() throws org.refcodes.component.PauseException
EurekaRestServer
EurekaServiceStatus.DOWN
to the attached registry server.
pause
in interface org.refcodes.component.Pausable
pause
in interface EurekaRestServer
pause
in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor>
pause
in class org.refcodes.rest.AbstractHttpRegistryRestServerDecorator<EurekaServerDescriptor,EurekaRestServer>
org.refcodes.component.PauseException
public void stop() throws org.refcodes.component.StopException
EurekaRestServer
EurekaServiceStatus.OUT_OF_SERVICE
to the attached registry
server.
stop
in interface org.refcodes.component.Stoppable
stop
in interface EurekaRestServer
stop
in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor>
stop
in class org.refcodes.rest.AbstractHttpRegistryRestServerDecorator<EurekaServerDescriptor,EurekaRestServer>
org.refcodes.component.StopException
public void resume() throws org.refcodes.component.ResumeException
EurekaRestServer
EurekaServiceStatus.UP
to the attached registry server.
resume
in interface org.refcodes.component.Resumable
resume
in interface EurekaRestServer
resume
in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor>
resume
in class org.refcodes.rest.AbstractHttpRegistryRestServerDecorator<EurekaServerDescriptor,EurekaRestServer>
org.refcodes.component.ResumeException
public void destroy()
EurekaRestServer
destroy
in interface org.refcodes.component.Destroyable
destroy
in interface EurekaRestServer
destroy
in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor>
destroy
in class org.refcodes.rest.AbstractHttpRegistryRestServerDecorator<EurekaServerDescriptor,EurekaRestServer>
public org.refcodes.component.ConnectionStatus getConnectionStatus()
getConnectionStatus
in interface org.refcodes.component.ConnectionStatusAccessor
public void setObserversActive(boolean isActive)
setObserversActive
in interface org.refcodes.observer.Observers<org.refcodes.rest.RestEndpoint,org.refcodes.rest.RestServer>
public boolean isObserversActive()
isObserversActive
in interface org.refcodes.observer.Observers<org.refcodes.rest.RestEndpoint,org.refcodes.rest.RestServer>
public EurekaDataCenterType getEurekaDataCenterType()
getEurekaDataCenterType
in interface EurekaDataCenterTypeAccessor
public void setEurekaDataCenterType(EurekaDataCenterType aDataCenterType)
setEurekaDataCenterType
in interface EurekaDataCenterTypeAccessor.EurekaDataCenterTypeMutator
aDataCenterType
- The Eureka data center type to be stored
by the Eureka data center type property.public EurekaServerDescriptor toHttpServerDescriptor(String aAlias, String aInstanceId, org.refcodes.data.Scheme aScheme, String aHost, String aVirtualHost, int[] aIpAddress, int aPort, String aPingPath, EurekaDataCenterType aDataCenterType)
HttpServerDescriptor
by creating it from this
instance's state and the provided arguments. The provided arguments can
modify theinstance's state. The HttpServerDescriptor
as finally
used is returned. You may modify this context and use it after
modification to initialize the server via
HttpRegistryRestServer.initialize(HttpServerDescriptor, Url)
or
HttpRegistryRestServer.initialize(HttpServerDescriptor, Url, TrustStoreDescriptor)
.
toHttpServerDescriptor
in interface EurekaRestServer
aAlias
- The name ("alias") which identifies the server in the
registry.aInstanceId
- The ID for the instance when being registered at the
service registry. If omitted, then the host name is used.aScheme
- The Scheme
to which this server is being attached
(HTTP or HTTPS).aHost
- The host name to be used to address this server. If omitted,
then the system's host name should be used.aVirtualHost
- The virtual host name to be used for resolving.aIpAddress
- The IP-Address identifying the host.aPort
- The port of your service being registered. Make sure, you do
notaPingPath
- The path to use as health-check end-point by this
server.HttpServerDescriptor
as would be used when
initializing this instance via EurekaRestServer.initialize()
protected String toInstanceId(String aInstanceId, String aHost)
toInstanceId
in class org.refcodes.rest.AbstractHttpRegistryRestServerDecorator<EurekaServerDescriptor,EurekaRestServer>
protected void doRegister(EurekaServiceStatus aServiceStatus, EurekaServerDescriptor aServerDescriptor, org.refcodes.net.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) throws org.refcodes.net.HttpStatusException, org.refcodes.component.OpenException
org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
protected void doStatusUpdate(EurekaServiceStatus aServiceStatus, String aAlias, String aInstanceId, String aHost, org.refcodes.net.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) throws org.refcodes.component.OpenException, UnknownHostException, org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
UnknownHostException
org.refcodes.net.HttpStatusException
protected void doDeregister(String aAlias, String aInstanceId, String aHost, org.refcodes.net.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) throws org.refcodes.component.OpenException, UnknownHostException, org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
UnknownHostException
org.refcodes.net.HttpStatusException
protected void doStatusUp() throws org.refcodes.component.OpenException, UnknownHostException, org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
UnknownHostException
org.refcodes.net.HttpStatusException
protected void doStatusDown() throws org.refcodes.component.OpenException, UnknownHostException, org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
UnknownHostException
org.refcodes.net.HttpStatusException
protected void doStatusOutOfService() throws org.refcodes.component.OpenException, UnknownHostException, org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
UnknownHostException
org.refcodes.net.HttpStatusException
protected void doStatusUnknown() throws org.refcodes.component.OpenException, UnknownHostException, org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
UnknownHostException
org.refcodes.net.HttpStatusException
protected void doRegisterUp() throws org.refcodes.net.HttpStatusException, org.refcodes.component.OpenException
org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
protected void doDeregister() throws org.refcodes.net.HttpStatusException, org.refcodes.component.OpenException, UnknownHostException
org.refcodes.net.HttpStatusException
org.refcodes.component.OpenException
UnknownHostException
protected EurekaDataCenterType toDataCenterType(EurekaDataCenterType aDataCenterType)
protected org.refcodes.net.Url toRegistryUrl(org.refcodes.net.Url aRegistryUrl)
protected AmazonMetaData toAmazonMetaData()
Copyright © 2018. All rights reserved.