org.refcodes.mixin.AliasAccessor
, org.refcodes.mixin.AliasAccessor.AliasBuilder<EurekaServerDescriptor>
, org.refcodes.mixin.AliasAccessor.AliasMutator
, org.refcodes.mixin.AliasAccessor.AliasProperty
, org.refcodes.net.BaseLocatorAccessor
, org.refcodes.net.BaseLocatorAccessor.BaseLocatorBuilder<EurekaServerDescriptor>
, org.refcodes.net.BaseLocatorAccessor.BaseLocatorMutator
, org.refcodes.net.BaseLocatorAccessor.BaseLocatorProperty
, org.refcodes.net.BasicAuthObservable<EurekaServerDescriptor>
, org.refcodes.component.Closable
, org.refcodes.component.Closable.CloseBuilder<EurekaServerDescriptor>
, org.refcodes.component.Configurable<EurekaServerDescriptor>
, org.refcodes.component.ConnectionComponent<EurekaServerDescriptor>
, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<EurekaServerDescriptor,EurekaRestServer>
, org.refcodes.component.ConnectionOpenable<EurekaServerDescriptor>
, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<EurekaServerDescriptor,EurekaRestServer>
, org.refcodes.component.ConnectionStatusAccessor
, org.refcodes.component.Destroyable
, org.refcodes.component.Destroyable.DestroyAutomaton
, EurekaDataCenterTypeAccessor
, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeBuilder<EurekaServerDescriptor>
, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeMutator
, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeProperty
, EurekaRegistry<EurekaRestServer>
, EurekaServerDescriptorFactory
, org.refcodes.rest.HomePathAccessor
, org.refcodes.rest.HomePathAccessor.HomePathBuilder<EurekaServerDescriptor>
, org.refcodes.rest.HomePathAccessor.HomePathMutator
, org.refcodes.rest.HomePathAccessor.HomePathProperty
, org.refcodes.rest.HomeRequestObserver
, org.refcodes.rest.HomeRequestObserverAccessor
, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRestServer>
, org.refcodes.net.HostAccessor
, org.refcodes.net.HostAccessor.HostBuilder<EurekaServerDescriptor>
, org.refcodes.net.HostAccessor.HostMutator
, org.refcodes.net.HostAccessor.HostProperty
, org.refcodes.rest.HttpExceptionHandlerAccessor
, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<EurekaServerDescriptor>
, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator
, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty
, org.refcodes.rest.HttpExceptionHandlingAccessor
, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<EurekaServerDescriptor>
, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator
, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty
, org.refcodes.rest.HttpRegistry<EurekaServerDescriptor,EurekaRestServer>
, org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor,EurekaRestServer>
, org.refcodes.rest.HttpRegistryUrlAccessor
, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<EurekaServerDescriptor>
, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlMutator
, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlProperty
, org.refcodes.rest.HttpRestServer
, org.refcodes.net.HttpsConnectionRequestObservable<EurekaServerDescriptor>
, org.refcodes.rest.HttpServerDescriptorAccessor<EurekaServerDescriptor>
, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<EurekaServerDescriptor,EurekaRestServer>
, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator<EurekaServerDescriptor>
, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorProperty<EurekaServerDescriptor>
, org.refcodes.rest.HttpServerDescriptorFactory<EurekaServerDescriptor>
, org.refcodes.component.Initializable
, org.refcodes.component.Initializable.InitializeAutomaton
, org.refcodes.component.InitializedAccessor
, org.refcodes.mixin.InstanceIdAccessor
, org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<EurekaServerDescriptor>
, org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator
, org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty
, org.refcodes.net.IpAddressAccessor
, org.refcodes.net.IpAddressAccessor.IpAddressBuilder<EurekaServerDescriptor>
, org.refcodes.net.IpAddressAccessor.IpAddressMutator
, org.refcodes.net.IpAddressAccessor.IpAddressProperty
, org.refcodes.security.KeyStoreDescriptorAccessor
, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<EurekaServerDescriptor>
, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator
, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorProperty
, org.refcodes.component.LifeCycleComponent
, org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton
, org.refcodes.component.LifeCycleStatusAccessor
, org.refcodes.component.LinkComponent
, org.refcodes.io.MaxConnectionsAccessor
, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<EurekaServerDescriptor>
, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutator
, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsProperty
, org.refcodes.net.MediaTypeFactoryLookup
, org.refcodes.net.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup
, org.refcodes.observer.Observable<EurekaServerDescriptor>
, org.refcodes.observer.Observers<EurekaServerDescriptor,EurekaRestServer>
, org.refcodes.component.Openable
, org.refcodes.component.Pausable
, org.refcodes.component.Pausable.PauseAutomaton
, org.refcodes.rest.PingPathAccessor
, org.refcodes.rest.PingPathAccessor.PingPathBuilder<EurekaServerDescriptor>
, org.refcodes.rest.PingPathAccessor.PingPathMutator
, org.refcodes.rest.PingPathAccessor.PingPathProperty
, org.refcodes.rest.PingRequestObserver
, org.refcodes.rest.PingRequestObserverAccessor
, org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverBuilder<EurekaServerDescriptor>
, org.refcodes.mixin.PortAccessor
, org.refcodes.mixin.PortAccessor.PortBuilder<EurekaServerDescriptor>
, org.refcodes.mixin.PortAccessor.PortMutator
, org.refcodes.mixin.PortAccessor.PortProperty
, org.refcodes.net.RealmAccessor
, org.refcodes.net.RealmAccessor.RealmBuilder<EurekaServerDescriptor>
, org.refcodes.net.RealmAccessor.RealmMutator
, org.refcodes.net.RealmAccessor.RealmProperty
, org.refcodes.runtime.RequestCorrelation<EurekaServerDescriptor>
, org.refcodes.rest.RestServer
, org.refcodes.component.Resumable
, org.refcodes.component.Resumable.ResumeAutomaton
, org.refcodes.component.RunningAccessor
, org.refcodes.net.SchemeAccessor
, org.refcodes.net.SchemeAccessor.SchemeBuilder<EurekaServerDescriptor>
, org.refcodes.net.SchemeAccessor.SchemeMutator
, org.refcodes.net.SchemeAccessor.SchemeProperty
, org.refcodes.runtime.SessionCorrelation<EurekaServerDescriptor>
, org.refcodes.component.Startable
, org.refcodes.component.Startable.StartAutomaton
, org.refcodes.rest.StatusPathAccessor
, org.refcodes.rest.StatusPathAccessor.StatusPathBuilder<EurekaServerDescriptor>
, org.refcodes.rest.StatusPathAccessor.StatusPathMutator
, org.refcodes.rest.StatusPathAccessor.StatusPathProperty
, org.refcodes.rest.StatusRequestObserver
, org.refcodes.rest.StatusRequestObserverAccessor
, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRestServer>
, org.refcodes.component.Stoppable
, org.refcodes.component.Stoppable.StopAutomaton
, org.refcodes.security.TrustStoreDescriptorAccessor
, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<EurekaServerDescriptor>
, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
, org.refcodes.net.VirtualHostAccessor
, org.refcodes.net.VirtualHostAccessor.VirtualHostBuilder<EurekaServerDescriptor>
, org.refcodes.net.VirtualHostAccessor.VirtualHostMutator
, org.refcodes.net.VirtualHostAccessor.VirtualHostProperty
EurekaRestServerDecorator
, EurekaRestServerImpl
public interface EurekaRestServer extends org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor,EurekaRestServer>, EurekaRegistry<EurekaRestServer>, org.refcodes.rest.HomeRequestObserver, org.refcodes.rest.StatusRequestObserver, org.refcodes.rest.StatusRequestObserverAccessor, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRestServer>, org.refcodes.rest.HomeRequestObserverAccessor, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRestServer>, EurekaServerDescriptorFactory
EurekaRestServer
refines the HttpRegistryRestServer
for
use with an Eureka Service-Registry. The Lifecycle-States are used to control
the registry process.
HttpRegistry.initialize()
: (or the like initialize
methods)
Initialize this service by registering it with the status
EurekaServiceStatus.STARTING
to the attached registry server.
HttpRegistryRestServer.start()
: Starts this service by registering it with the status
EurekaServiceStatus.UP
to the attached registry server.
HttpRegistryRestServer.pause()
: Pauses this service by updating the status
EurekaServiceStatus.DOWN
to the attached registry server.
HttpRegistryRestServer.resume()
:
HttpRegistryRestServer.stop()
: Stops this service by updating the status
EurekaServiceStatus.OUT_OF_SERVICE
to the attached registry server.
HttpRegistryRestServer.destroy()
: Removes the server from the registry.
EurekaRestServer
implements the LifeCycleComponent
, the
above mentioned lifecycle states behave as of the definition for the
LifeCycleComponent
interface.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.net.BaseLocatorAccessor.BaseLocatorBuilder<B extends org.refcodes.net.BaseLocatorAccessor.BaseLocatorBuilder<B>>, org.refcodes.net.BaseLocatorAccessor.BaseLocatorMutator, org.refcodes.net.BaseLocatorAccessor.BaseLocatorProperty
org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
org.refcodes.component.Configurable.ConfigureAutomaton<CTX extends Object>, org.refcodes.component.Configurable.ConfigureBuilder<CTX extends Object,B extends org.refcodes.component.Configurable.ConfigureBuilder<CTX,B>>
org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON extends Object>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON extends Object,B extends org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,B>>
org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<CON extends Object>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON extends Object,B extends org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,B>>
org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusProperty
org.refcodes.component.Destroyable.DestroyAutomaton
EurekaDataCenterTypeAccessor.EurekaDataCenterTypeBuilder<B extends EurekaDataCenterTypeAccessor.EurekaDataCenterTypeBuilder<?>>, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeMutator, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeProperty
org.refcodes.rest.HomePathAccessor.HomePathBuilder<B extends org.refcodes.rest.HomePathAccessor.HomePathBuilder<?>>, org.refcodes.rest.HomePathAccessor.HomePathMutator, org.refcodes.rest.HomePathAccessor.HomePathProperty
org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<B extends org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<B>>, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverMutator, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverProperty
org.refcodes.net.HostAccessor.HostBuilder<B extends org.refcodes.net.HostAccessor.HostBuilder<?>>, org.refcodes.net.HostAccessor.HostMutator, org.refcodes.net.HostAccessor.HostProperty
org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B extends org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B>>, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty
org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B extends org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B>>, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty
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.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.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.mixin.InstanceIdAccessor.InstanceIdBuilder<B extends org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B>>, org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator, org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty
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.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B extends org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B>>, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorProperty
org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleComponent.UncheckedLifeCycleComponent
org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B extends org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B>>, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusMutator, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusProperty
org.refcodes.component.LinkComponent.LinkAutomaton, org.refcodes.component.LinkComponent.LinkComponentBuilder<B extends org.refcodes.component.LinkComponent.LinkComponentBuilder<B>>
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.net.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup
org.refcodes.component.Openable.OpenAutomaton, org.refcodes.component.Openable.OpenBuilder<B extends org.refcodes.component.Openable.OpenBuilder<B>>
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.rest.PingPathAccessor.PingPathBuilder<B extends org.refcodes.rest.PingPathAccessor.PingPathBuilder<?>>, org.refcodes.rest.PingPathAccessor.PingPathMutator, org.refcodes.rest.PingPathAccessor.PingPathProperty
org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverBuilder<B extends org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverBuilder<B>>, org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverMutator, org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverProperty
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.RealmAccessor.RealmBuilder<B extends org.refcodes.net.RealmAccessor.RealmBuilder<B>>, org.refcodes.net.RealmAccessor.RealmMutator, org.refcodes.net.RealmAccessor.RealmProperty
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.net.SchemeAccessor.SchemeBuilder<B extends org.refcodes.net.SchemeAccessor.SchemeBuilder<B>>, org.refcodes.net.SchemeAccessor.SchemeMutator, org.refcodes.net.SchemeAccessor.SchemeProperty
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.rest.StatusPathAccessor.StatusPathBuilder<B extends org.refcodes.rest.StatusPathAccessor.StatusPathBuilder<?>>, org.refcodes.rest.StatusPathAccessor.StatusPathMutator, org.refcodes.rest.StatusPathAccessor.StatusPathProperty
org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<B extends org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<B>>, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverMutator, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverProperty
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.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
org.refcodes.net.VirtualHostAccessor.VirtualHostBuilder<B extends org.refcodes.net.VirtualHostAccessor.VirtualHostBuilder<?>>, org.refcodes.net.VirtualHostAccessor.VirtualHostMutator, org.refcodes.net.VirtualHostAccessor.VirtualHostProperty
EUREKA_BASE_PATH
Modifier and Type | Method | Description |
---|---|---|
default void |
initialize(String aAlias,
String aInstanceId,
org.refcodes.data.Scheme aScheme,
String aHost,
String aVirtualHost,
int[] aIpAddress,
int aPort,
String aPingPath,
org.refcodes.rest.RestRequestObserver aPingRequestObserver,
String aStatusPath,
org.refcodes.rest.RestRequestObserver aStatusRequestObserver,
String aHomePath,
org.refcodes.rest.RestRequestObserver aHomeRequestObserver,
EurekaDataCenterType aDataCenterType,
org.refcodes.net.Url aRegistryUrl,
org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
Initializes the
HttpRegistryRestServer by registering it at the
service registry. |
default void |
initialize(String aAlias,
String aInstanceId,
org.refcodes.data.Scheme aScheme,
String aHost,
String aVirtualHost,
int[] aIpAddress,
int aPort,
String aPingPath,
org.refcodes.rest.RestRequestObserver aPingRequestObserver,
org.refcodes.net.Url aRegistryUrl) |
Initializes the
HttpRegistryRestServer by registering it at the
service registry with a status such as "starting" or "initializing" or
"not-ready-yet". |
default void |
initialize(EurekaRegistryContext aRegistryContext) |
Initializes the
HttpRegistryRestServer by registering it at the
Eureka service registry with a status such as "starting" or
"initializing" or "not-ready-yet". |
default void |
initialize(EurekaServerDescriptor aServerDescriptor,
org.refcodes.net.Url aRegistryUrl,
org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
|
void |
initialize(EurekaServerDescriptor aServerDescriptor,
org.refcodes.rest.RestRequestObserver aPingRequestObserver,
org.refcodes.rest.RestRequestObserver aStatusRequestObserver,
org.refcodes.rest.RestRequestObserver aHomeRequestObserver,
org.refcodes.net.Url aRegistryUrl,
org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
Initializes the
HttpRegistryRestServer by registering it at the
service registry. |
default EurekaRestServer |
withHomeRequestObserver(org.refcodes.rest.RestRequestObserver aRequestObserver) |
|
default EurekaRestServer |
withStatusRequestObserver(org.refcodes.rest.RestRequestObserver aRequestObserver) |
setBaseLocator
close, closeIn, closeQuietly, closeUnchecked
withOpenUnchecked
getConnectionStatus, isConnectionOpened
isDestroyable, isDestroyed
getEurekaDataCenterType
setEurekaDataCenterType
initialize, initialize, initialize, withEurekaDataCenterType, withHomePath, withStatusPath
toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor
getHomeRequestObserver
getHttpExceptionHandler
withOnHttpException
onHttpException, setHttpExceptionHandler
getHttpExceptionHandling
setHttpExceptionHandling
initialize, initialize, initialize, initialize, initialize, initialize, withAlias, withCidrNotation, withHost, withHttpRegistryUrl, withHttpServerDescriptor, withInstanceId, withIpAddress, withPingPath, withTrustStoreDescriptor, withVirtualHost
destroy, initialize, pause, resume, start, stop, withPingRequestObserver, withPort, withProtocol, withScheme
setHttpRegistryUrl
open, open, open, open, open, open, open, open, open, open, open, open, open, withBaseLocator, withClose, withCloseIn, withCloseQuietly, withDisableRequestCorrelation, withDisableSessionCorrelation, withEnableRequestCorrelation, withEnableSessionCorrelation, withHttpExceptionHandler, withHttpExceptionHandling, withKeyStoreDescriptor, withMaxConnections, withOpen, withOpen, withRealm, withRequestCorrelation, withSessionCorrelation
onConnectionRequest
getHttpServerDescriptor
setHttpServerDescriptor
toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor
isInitalizable
setInstanceId
fromCidrNotation, setIpAddress
getKeyStoreDescriptor
setKeyStoreDescriptor
setMaxConnections
getFactoryMediaTypes, hasMediaTypeFactory, toMediaTypeFactory
addMediaTypeFactory
hasObserverSubscription, subscribeObserver, unsubscribeObserver
disableObservers, enableObservers, isObserversActive, observers, setObserversActive
isPausable, isPaused
getPingRequestObserver
disableRequestCorrelation, enableRequestCorrelation, hasRequestCorrelation, setRequestCorrelation
onDelete, onGet, onPost, onPut, onRequest, onRequest, onRequest, withDisableObservers, withEnableObservers, withObserversActive
setProtocol, setScheme
disableSessionCorrelation, enableSessionCorrelation, hasSessionCorrelation, setSessionCorrelation
setStatusPath
getStatusRequestObserver
isStoppable, isStopped
getTrustStoreDescriptor
default void initialize(EurekaRegistryContext aRegistryContext) throws org.refcodes.component.InitializeException
HttpRegistryRestServer
by registering it at the
Eureka service registry with a status such as "starting" or
"initializing" or "not-ready-yet".
aRegistryContext
- The context providing the descriptor of the
server to be registered and the Url
of the service
registry to be used as well as the required truststore.org.refcodes.component.InitializeException
- thrown in case initializing a component
caused problems. Usually a method similar to "initialize()"
throws such an exception.default void initialize(String aAlias, String aInstanceId, org.refcodes.data.Scheme aScheme, String aHost, String aVirtualHost, int[] aIpAddress, int aPort, String aPingPath, org.refcodes.rest.RestRequestObserver aPingRequestObserver, org.refcodes.net.Url aRegistryUrl) throws org.refcodes.component.InitializeException
HttpRegistryRestServer
by registering it at the
service registry with a status such as "starting" or "initializing" or
"not-ready-yet".
initialize
in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor,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.aPingPath
- The path to use as health-check end-point by this
server.aPingRequestObserver
- The RestRequestObserver
hooking into
a ping request.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.default void initialize(String aAlias, String aInstanceId, org.refcodes.data.Scheme aScheme, String aHost, String aVirtualHost, int[] aIpAddress, int aPort, String aPingPath, org.refcodes.rest.RestRequestObserver aPingRequestObserver, String aStatusPath, org.refcodes.rest.RestRequestObserver aStatusRequestObserver, String aHomePath, org.refcodes.rest.RestRequestObserver aHomeRequestObserver, EurekaDataCenterType aDataCenterType, org.refcodes.net.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) throws org.refcodes.component.InitializeException
HttpRegistryRestServer
by registering it at the
service registry.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.aPingRequestObserver
- The health-check request observer hook.aStatusPath
- The path to use as status-page end-point by thisaStatusRequestObserver
- The status-page request observer hook.aHomePath
- The path to use as home-page end-point by thisaHomeRequestObserver
- The home-page request observer hook.aDataCenterType
- The type of the data center your
EurekaRestServer
is running in.aRegistryUrl
- The registry server where to register.aStoreDescriptor
- The descriptor describing the truststore for
(optionally) opening an HTTPS connection to the registry server.org.refcodes.component.InitializeException
- thrown in case initializing a component
caused problems. Usually a method similar to "initialize()"
throws such an exception.void initialize(EurekaServerDescriptor aServerDescriptor, org.refcodes.rest.RestRequestObserver aPingRequestObserver, org.refcodes.rest.RestRequestObserver aStatusRequestObserver, org.refcodes.rest.RestRequestObserver aHomeRequestObserver, org.refcodes.net.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) throws org.refcodes.component.InitializeException
HttpRegistryRestServer
by registering it at the
service registry.aServerDescriptor
- The descriptor describing the server.aPingRequestObserver
- The health-check request observer hook.aStatusRequestObserver
- The status-page request observer hook.aHomeRequestObserver
- The home-page request observer hook.aRegistryUrl
- The registry server where to register.aStoreDescriptor
- The descriptor describing the truststore for
(optionally) opening an HTTPS connection to the registry server.org.refcodes.component.InitializeException
- thrown in case initializing a component
caused problems. Usually a method similar to "initialize()"
throws such an exception.default 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.HttpRegistry<EurekaServerDescriptor,EurekaRestServer>
org.refcodes.component.InitializeException
default EurekaRestServer withStatusRequestObserver(org.refcodes.rest.RestRequestObserver aRequestObserver)
withStatusRequestObserver
in interface org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRestServer>
default EurekaRestServer withHomeRequestObserver(org.refcodes.rest.RestRequestObserver aRequestObserver)
withHomeRequestObserver
in interface org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRestServer>
Copyright © 2018. All rights reserved.