public interface BindingSetSelector
CurrentContainer
to assign a BindingSet
to a
newly created Container
based on the given URI
. The default implementation of this interface returns
BindingSet.DEFAULT
regardless of input. To specify your own selector you need to install
a Guice Module
that provides a binding for this interface.Modifier and Type | Method and Description |
---|---|
String |
select(URI uri)
|
String select(URI uri)
BindingSet
to assign to the Container
for the given URI
. If this
method returns null, the corresponding call to CurrentContainer.newReference(URI)
will throw a
NoBindingSetSelectedException
.uri
- The URI to select on.Copyright © 2018. All rights reserved.