className, classpath, constructor, factoryName, id, jar, properties, provider, type| Constructor and Description |
|---|
SingletonContainerBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getAccessTimeout() |
Properties |
getProperties()
Gets the value of the properties property.
|
SingletonContainerBuilder |
id(String id) |
void |
setAccessTimeout(Duration accessTimeout) |
void |
setAccessTimeout(long time,
TimeUnit unit) |
SingletonContainerBuilder |
withAccessTimeout(Duration accessTimeout) |
SingletonContainerBuilder |
withAccessTimeout(long time,
TimeUnit unit) |
equals, getClassName, getClasspath, getConstructor, getFactoryName, getId, getJar, getProvider, getType, hashCode, setClassName, setClasspath, setConstructor, setFactoryName, setId, setJar, setProvider, setTypepublic SingletonContainerBuilder id(String id)
public SingletonContainerBuilder withAccessTimeout(Duration accessTimeout)
public void setAccessTimeout(Duration accessTimeout)
public Duration getAccessTimeout()
public SingletonContainerBuilder withAccessTimeout(long time, TimeUnit unit)
public void setAccessTimeout(long time,
TimeUnit unit)
public Properties getProperties()
AbstractServiceset method for the properties property.
For example, to add a new value, do as follows:
getProperties().setProperty(key, value);
getProperties in interface ServicegetProperties in class AbstractServiceCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.