Class MasterFeature.Binder
java.lang.Object
org.apache.hbase.thirdparty.org.glassfish.hk2.utilities.binding.AbstractBinder
org.apache.hadoop.hbase.master.http.jersey.MasterFeature.Binder
- All Implemented Interfaces:
org.apache.hbase.thirdparty.org.glassfish.hk2.api.DynamicConfiguration
,org.apache.hbase.thirdparty.org.glassfish.hk2.utilities.Binder
- Enclosing class:
- MasterFeature
private class MasterFeature.Binder
extends org.apache.hbase.thirdparty.org.glassfish.hk2.utilities.binding.AbstractBinder
Register this feature's provided functionality and defines their lifetime scopes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate <T> org.apache.hbase.thirdparty.org.glassfish.hk2.utilities.binding.ServiceBindingBuilder<T>
bindFactory
(Supplier<T> supplier) Helper method for smoothing over use ofSupplierFactoryAdapter
.protected void
Methods inherited from class org.apache.hbase.thirdparty.org.glassfish.hk2.utilities.binding.AbstractBinder
addActiveDescriptor, addActiveDescriptor, addActiveDescriptor, addActiveFactoryDescriptor, addIdempotentFilter, addUnbindFilter, bind, bind, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, install, registerTwoPhaseResources
-
Constructor Details
-
Binder
private Binder()
-
-
Method Details
-
configure
- Specified by:
configure
in classorg.apache.hbase.thirdparty.org.glassfish.hk2.utilities.binding.AbstractBinder
-
bindFactory
private <T> org.apache.hbase.thirdparty.org.glassfish.hk2.utilities.binding.ServiceBindingBuilder<T> bindFactory(Supplier<T> supplier) Helper method for smoothing over use ofSupplierFactoryAdapter
. Inspired by internal implementation details of jersey itself.
-