Class SimpleParameterizedBuilderRegistry.RegistryValue
- java.lang.Object
-
- com.tangosol.coherence.config.builder.SimpleParameterizedBuilderRegistry.RegistryValue
-
- All Implemented Interfaces:
Disposable
,AutoCloseable
- Enclosing class:
- SimpleParameterizedBuilderRegistry
protected class SimpleParameterizedBuilderRegistry.RegistryValue extends Object implements Disposable
A holder for aParameterizedBuilder
.
-
-
Constructor Summary
Constructors Constructor Description RegistryValue(ParameterizedBuilder<?> builder)
Construct aSimpleParameterizedBuilderRegistry.RegistryValue
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Invoked when all resources owned by the implementer can safely be released.ParameterizedBuilder<?>
getBuilder()
Return the registered builder.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.coherence.common.base.Disposable
close
-
-
-
-
Constructor Detail
-
RegistryValue
public RegistryValue(ParameterizedBuilder<?> builder)
Construct aSimpleParameterizedBuilderRegistry.RegistryValue
.- Parameters:
builder
- the registered builder
-
-
Method Detail
-
getBuilder
public ParameterizedBuilder<?> getBuilder()
Return the registered builder.- Returns:
- the registered builder
-
dispose
public void dispose()
Description copied from interface:Disposable
Invoked when all resources owned by the implementer can safely be released.Once disposed of the object should no longer be considered to be usable.
Note the Disposable interface is compatible with try-with-resources which will automatically invoke this method.
- Specified by:
dispose
in interfaceDisposable
-
-