class SimpleReferenceMetadata extends SimpleServiceReferenceComponentMetadata implements ReferenceMetadata
| Modifier and Type | Field and Description |
|---|---|
private static long |
DEFAULT_TIMEOUT |
private long |
timeout |
private static java.lang.String |
TIMEOUT_PROP |
beanDefinitionAVAILABILITY_MANDATORY, AVAILABILITY_OPTIONALACTIVATION_EAGER, ACTIVATION_LAZY| Constructor and Description |
|---|
SimpleReferenceMetadata(java.lang.String name,
org.springframework.beans.factory.config.BeanDefinition definition)
Constructs a new
SpringUnaryServiceReferenceComponentMetadata instance. |
| Modifier and Type | Method and Description |
|---|---|
long |
getTimeout()
Return the timeout for service invocations when a backing service is is
unavailable.
|
getAvailability, getComponentName, getFilter, getInterface, getReferenceListenersequals, getActivation, getBeanDefinition, getDependsOn, getId, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAvailability, getComponentName, getFilter, getInterface, getReferenceListenersgetActivation, getDependsOn, getIdprivate static final java.lang.String TIMEOUT_PROP
private static final long DEFAULT_TIMEOUT
private final long timeout
public SimpleReferenceMetadata(java.lang.String name,
org.springframework.beans.factory.config.BeanDefinition definition)
SpringUnaryServiceReferenceComponentMetadata instance.name - definition - public long getTimeout()
ReferenceMetadatatimeout attribute of the reference.getTimeout in interface ReferenceMetadata