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 a
ParameterizedBuilder
.-
Constructor Summary
ConstructorDescriptionRegistryValue
(ParameterizedBuilder<?> builder) Construct aSimpleParameterizedBuilderRegistry.RegistryValue
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Invoked when all resources owned by the implementer can safely be released.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 Details
-
RegistryValue
Construct aSimpleParameterizedBuilderRegistry.RegistryValue
.- Parameters:
builder
- the registered builder
-
-
Method Details
-
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
-