org.refcodes.component.Configurable<DESC>
, org.refcodes.component.Destroyable
, org.refcodes.component.Destroyable.DestroyAutomaton
, org.refcodes.component.Initializable
, org.refcodes.component.Initializable.InitializeAutomaton
, org.refcodes.component.InitializedAccessor
, org.refcodes.component.LifeCycleComponent
, org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton
, org.refcodes.component.LifeCycleStatusAccessor
, org.refcodes.component.Pausable
, org.refcodes.component.Pausable.PauseAutomaton
, org.refcodes.component.Resumable
, org.refcodes.component.Resumable.ResumeAutomaton
, org.refcodes.component.RunningAccessor
, org.refcodes.component.Startable
, org.refcodes.component.Startable.StartAutomaton
, org.refcodes.component.Stoppable
, org.refcodes.component.Stoppable.StopAutomaton
, org.refcodes.mixin.AliasAccessor
, org.refcodes.mixin.AliasAccessor.AliasBuilder<DESC>
, org.refcodes.mixin.AliasAccessor.AliasMutator
, org.refcodes.mixin.AliasAccessor.AliasProperty
, org.refcodes.mixin.InstanceIdAccessor
, org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<DESC>
, org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator
, org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty
, org.refcodes.mixin.PortAccessor
, org.refcodes.mixin.PortAccessor.PortBuilder<DESC>
, org.refcodes.mixin.PortAccessor.PortMutator
, org.refcodes.mixin.PortAccessor.PortProperty
, org.refcodes.net.HostAccessor
, org.refcodes.net.HostAccessor.HostBuilder<DESC>
, org.refcodes.net.HostAccessor.HostMutator
, org.refcodes.net.HostAccessor.HostProperty
, org.refcodes.net.IpAddressAccessor
, org.refcodes.net.IpAddressAccessor.IpAddressBuilder<DESC>
, org.refcodes.net.IpAddressAccessor.IpAddressMutator
, org.refcodes.net.IpAddressAccessor.IpAddressProperty
, org.refcodes.net.SchemeAccessor
, org.refcodes.net.SchemeAccessor.SchemeBuilder<DESC>
, org.refcodes.net.SchemeAccessor.SchemeMutator
, org.refcodes.net.SchemeAccessor.SchemeProperty
, org.refcodes.net.VirtualHostAccessor
, org.refcodes.net.VirtualHostAccessor.VirtualHostBuilder<DESC>
, org.refcodes.net.VirtualHostAccessor.VirtualHostMutator
, org.refcodes.net.VirtualHostAccessor.VirtualHostProperty
, HttpRegistry<DESC,B>
, HttpRegistrySidecar<DESC,B>
, HttpRegistryUrlAccessor
, HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<DESC>
, HttpRegistryUrlAccessor.HttpRegistryUrlMutator
, HttpRegistryUrlAccessor.HttpRegistryUrlProperty
, HttpServerDescriptorAccessor<DESC>
, HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC,B>
, HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC>
, HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC>
, HttpServerDescriptorFactory<DESC>
, PingPathAccessor
, PingPathAccessor.PingPathBuilder<DESC>
, PingPathAccessor.PingPathMutator
, PingPathAccessor.PingPathProperty
, org.refcodes.security.TrustStoreDescriptorAccessor
, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<DESC>
, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
public abstract class AbstractHttpRegistrySidecar<DESC extends HttpServerDescriptor,B extends HttpRegistrySidecar<DESC,B>> extends Object implements HttpRegistrySidecar<DESC,B>
HttpRegistrySidecar
.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.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.Destroyable.DestroyAutomaton
org.refcodes.net.HostAccessor.HostBuilder<B extends org.refcodes.net.HostAccessor.HostBuilder<?>>, org.refcodes.net.HostAccessor.HostMutator, org.refcodes.net.HostAccessor.HostProperty
HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B extends HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B>>, HttpRegistryUrlAccessor.HttpRegistryUrlMutator, HttpRegistryUrlAccessor.HttpRegistryUrlProperty
HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC extends HttpServerDescriptor,B extends HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC,B>>, HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC extends HttpServerDescriptor>, HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC extends 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.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.Pausable.PauseAutomaton, org.refcodes.component.Pausable.PauseBuilder<B extends org.refcodes.component.Pausable.PauseBuilder<B>>, org.refcodes.component.Pausable.UncheckedPausable
PingPathAccessor.PingPathBuilder<B extends PingPathAccessor.PingPathBuilder<?>>, PingPathAccessor.PingPathMutator, PingPathAccessor.PingPathProperty
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.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.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
Modifier and Type | Field | Description |
---|---|---|
protected org.refcodes.component.LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImpl |
_lifeCycleAutomaton |
|
protected RestRequestObserver |
_pingRequestObserver |
Constructor | Description |
---|---|
AbstractHttpRegistrySidecar() |
Modifier and Type | Method | Description |
---|---|---|
void |
destroy() |
This server is taken (removed) from the registry server.
|
String |
getAlias() |
|
String |
getHost() |
|
org.refcodes.net.Url |
getHttpRegistryUrl() |
Retrieves the URL from the URL property locating the service registry
registry.
|
DESC |
getHttpServerDescriptor() |
Retrieves the
HttpServerDescriptor from the
HttpServerDescriptor property. |
String |
getInstanceId() |
|
int[] |
getIpAddress() |
|
org.refcodes.component.LifeCycleStatus |
getLifeCycleStatus() |
|
String |
getPingPath() |
Retrieves the ping path from the ping path property.
|
org.refcodes.security.TrustStoreDescriptor |
getTrustStoreDescriptor() |
|
String |
getVirtualHost() |
|
void |
initialize() |
Initializes the
HttpRegistry by registering it at the service
registry with a status such as "starting" or "initializing" or
"not-ready-yet". |
boolean |
isDestroyable() |
|
boolean |
isDestroyed() |
|
boolean |
isInitalizable() |
|
boolean |
isInitialized() |
|
boolean |
isPausable() |
|
boolean |
isPaused() |
|
boolean |
isResumable() |
|
boolean |
isRunning() |
|
boolean |
isStartable() |
|
boolean |
isStoppable() |
|
boolean |
isStopped() |
|
void |
pause() |
Some "deactivated" status is communicated to the registry server.
|
void |
resume() |
Some "up-and-running (again)" status is communicated to the registry
server.
|
void |
setAlias(String aAlias) |
|
void |
setHost(String aHost) |
|
void |
setHttpRegistryUrl(org.refcodes.net.Url aRegistryUrl) |
Sets the URL for the URL property locating the service registry
registry.
|
void |
setHttpServerDescriptor(DESC aServerDescriptor) |
Sets the
HttpServerDescriptor for the
HttpServerDescriptor property. |
void |
setInstanceId(String aInstanceId) |
|
void |
setIpAddress(int[] aIpAddress) |
|
void |
setPingPath(String aPingPath) |
Sets the ping path for the ping path property.
|
void |
setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
|
void |
setVirtualHost(String aVirtualHost) |
|
void |
start() |
Some "up-and-running" status is communicated to the registry server.
|
void |
stop() |
Some "out-of-order" status is communicated to the registry server.
|
protected static String |
toAlias(String aAlias,
org.refcodes.mixin.AliasAccessor.AliasProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static String |
toHost(String aHost,
org.refcodes.net.HostAccessor.HostProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static org.refcodes.net.Url |
toHttpRegistryUrl(org.refcodes.net.Url aRegistryUrl,
HttpRegistryUrlAccessor.HttpRegistryUrlProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static <DESC extends HttpServerDescriptor> |
toHttpServerDescriptor(DESC aServerDescriptor,
HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC> aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static String |
toInstanceId(String aInstanceId,
String aHost,
org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static int[] |
toIpAddress(int[] aIpAddress,
org.refcodes.net.IpAddressAccessor.IpAddressProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static String |
toPingPath(String aPingPath,
String aDefaultPingPath,
PingPathAccessor.PingPathProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static int |
toPort(int aPort,
org.refcodes.mixin.PortAccessor.PortProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static org.refcodes.data.Scheme |
toScheme(org.refcodes.data.Scheme aScheme,
org.refcodes.net.SchemeAccessor.SchemeProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static org.refcodes.security.TrustStoreDescriptor |
toTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor,
org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
protected static String |
toVirtualHost(String aVirtualHost,
org.refcodes.net.VirtualHostAccessor.VirtualHostProperty aProperty) |
Resolves the property from the provided value and the provided property
and the and sets the property in case the provided value is not null.
|
initialize, initialize, initialize, initialize, initialize, initialize, initialize, withAlias, withCidrNotation, withHost, withHttpRegistryUrl, withHttpServerDescriptor, withInstanceId, withIpAddress, withPingPath, withTrustStoreDescriptor, withVirtualHost
withPort, withProtocol, withScheme
toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor
fromCidrNotation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected org.refcodes.component.LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImpl _lifeCycleAutomaton
protected RestRequestObserver _pingRequestObserver
public boolean isRunning()
isRunning
in interface org.refcodes.component.RunningAccessor
public boolean isInitialized()
isInitialized
in interface org.refcodes.component.InitializedAccessor
public org.refcodes.component.LifeCycleStatus getLifeCycleStatus()
getLifeCycleStatus
in interface org.refcodes.component.LifeCycleStatusAccessor
public void pause() throws org.refcodes.component.PauseException
pause
in interface HttpRegistry<DESC extends HttpServerDescriptor,B extends HttpRegistrySidecar<DESC,B>>
pause
in interface org.refcodes.component.Pausable
org.refcodes.component.PauseException
public void stop() throws org.refcodes.component.StopException
stop
in interface HttpRegistry<DESC extends HttpServerDescriptor,B extends HttpRegistrySidecar<DESC,B>>
stop
in interface org.refcodes.component.Stoppable
org.refcodes.component.StopException
public void start() throws org.refcodes.component.StartException
start
in interface HttpRegistry<DESC extends HttpServerDescriptor,B extends HttpRegistrySidecar<DESC,B>>
start
in interface org.refcodes.component.Startable
org.refcodes.component.StartException
public void resume() throws org.refcodes.component.ResumeException
resume
in interface HttpRegistry<DESC extends HttpServerDescriptor,B extends HttpRegistrySidecar<DESC,B>>
resume
in interface org.refcodes.component.Resumable
org.refcodes.component.ResumeException
public void initialize() throws org.refcodes.component.InitializeException
HttpRegistry
by registering it at the service
registry with a status such as "starting" or "initializing" or
"not-ready-yet".
initialize
in interface HttpRegistry<DESC extends HttpServerDescriptor,B extends HttpRegistrySidecar<DESC,B>>
initialize
in interface org.refcodes.component.Initializable
org.refcodes.component.InitializeException
public boolean isStoppable()
isStoppable
in interface org.refcodes.component.Stoppable.StopAutomaton
public boolean isPausable()
isPausable
in interface org.refcodes.component.Pausable.PauseAutomaton
public boolean isStartable()
isStartable
in interface org.refcodes.component.Startable.StartAutomaton
public boolean isResumable()
isResumable
in interface org.refcodes.component.Resumable.ResumeAutomaton
public boolean isStopped()
isStopped
in interface org.refcodes.component.Stoppable.StopAutomaton
public boolean isPaused()
isPaused
in interface org.refcodes.component.Pausable.PauseAutomaton
public boolean isInitalizable()
isInitalizable
in interface org.refcodes.component.Initializable.InitializeAutomaton
public void destroy()
destroy
in interface org.refcodes.component.Destroyable
destroy
in interface HttpRegistry<DESC extends HttpServerDescriptor,B extends HttpRegistrySidecar<DESC,B>>
public boolean isDestroyable()
isDestroyable
in interface org.refcodes.component.Destroyable.DestroyAutomaton
public boolean isDestroyed()
isDestroyed
in interface org.refcodes.component.Destroyable.DestroyAutomaton
public void setInstanceId(String aInstanceId)
setInstanceId
in interface org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator
public String getInstanceId()
getInstanceId
in interface org.refcodes.mixin.InstanceIdAccessor
public void setHost(String aHost)
setHost
in interface org.refcodes.net.HostAccessor.HostMutator
public String getHost()
getHost
in interface org.refcodes.net.HostAccessor
public String getVirtualHost()
getVirtualHost
in interface org.refcodes.net.VirtualHostAccessor
public void setVirtualHost(String aVirtualHost)
setVirtualHost
in interface org.refcodes.net.VirtualHostAccessor.VirtualHostMutator
public int[] getIpAddress()
getIpAddress
in interface org.refcodes.net.IpAddressAccessor
public void setIpAddress(int[] aIpAddress)
setIpAddress
in interface org.refcodes.net.IpAddressAccessor.IpAddressMutator
public org.refcodes.security.TrustStoreDescriptor getTrustStoreDescriptor()
getTrustStoreDescriptor
in interface org.refcodes.security.TrustStoreDescriptorAccessor
public void setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
setTrustStoreDescriptor
in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
public DESC getHttpServerDescriptor()
HttpServerDescriptor
from the
HttpServerDescriptor
property.getHttpServerDescriptor
in interface HttpServerDescriptorAccessor<DESC extends HttpServerDescriptor>
HttpServerDescriptor
stored by the
HttpServerDescriptor
property.public void setHttpServerDescriptor(DESC aServerDescriptor)
HttpServerDescriptor
for the
HttpServerDescriptor
property.setHttpServerDescriptor
in interface HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC extends HttpServerDescriptor>
aServerDescriptor
- The HttpServerDescriptor
to be
stored by the HttpServerDescriptor
property.public org.refcodes.net.Url getHttpRegistryUrl()
getHttpRegistryUrl
in interface HttpRegistryUrlAccessor
public void setHttpRegistryUrl(org.refcodes.net.Url aRegistryUrl)
setHttpRegistryUrl
in interface HttpRegistryUrlAccessor.HttpRegistryUrlMutator
aRegistryUrl
- The service registry registry URL to be stored by the
URL property.public String getAlias()
getAlias
in interface org.refcodes.mixin.AliasAccessor
public void setAlias(String aAlias)
setAlias
in interface org.refcodes.mixin.AliasAccessor.AliasMutator
public String getPingPath()
getPingPath
in interface PingPathAccessor
public void setPingPath(String aPingPath)
setPingPath
in interface PingPathAccessor.PingPathMutator
aPingPath
- The ping path to be stored by the ping path
property.protected static String toHost(String aHost, org.refcodes.net.HostAccessor.HostProperty aProperty) throws UnknownHostException
aHost
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.UnknownHostException
- thrown in case the local machine's host
cannot be resolved when the provided host is null.protected static String toVirtualHost(String aVirtualHost, org.refcodes.net.VirtualHostAccessor.VirtualHostProperty aProperty)
aVirtualHost
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.protected static int[] toIpAddress(int[] aIpAddress, org.refcodes.net.IpAddressAccessor.IpAddressProperty aProperty) throws IOException
aIpAddress
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.IOException
- thrown in case the local machine's IP-Address cannot
be resolved when the provided IP-Address is null.protected static String toAlias(String aAlias, org.refcodes.mixin.AliasAccessor.AliasProperty aProperty)
aAlias
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.protected static org.refcodes.data.Scheme toScheme(org.refcodes.data.Scheme aScheme, org.refcodes.net.SchemeAccessor.SchemeProperty aProperty)
aScheme
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.protected static int toPort(int aPort, org.refcodes.mixin.PortAccessor.PortProperty aProperty)
aPort
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.protected static String toInstanceId(String aInstanceId, String aHost, org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty aProperty)
aInstanceId
- The value to be used when not null.aHost
- The value to be used when instance ID is null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.protected static String toPingPath(String aPingPath, String aDefaultPingPath, PingPathAccessor.PingPathProperty aProperty)
aPingPath
- The value to be used when not null.aDefaultPingPath
- The value to be used when the ping path is null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.protected static org.refcodes.security.TrustStoreDescriptor toTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty aProperty)
aStoreDescriptor
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.protected static org.refcodes.net.Url toHttpRegistryUrl(org.refcodes.net.Url aRegistryUrl, HttpRegistryUrlAccessor.HttpRegistryUrlProperty aProperty)
aRegistryUrl
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.protected static <DESC extends HttpServerDescriptor> DESC toHttpServerDescriptor(DESC aServerDescriptor, HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC> aProperty)
DESC
- The type of the server discovery descriptor (the object
describing your service and locating the service registry).aServerDescriptor
- The value to be used when not null.aProperty
- The property to be used when the value is null and which
is to be set when the value is not null.Copyright © 2018. All rights reserved.