| Modifier | Constructor and Description |
|---|---|
protected |
BaseManager(Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
C |
getPrimaryComponent()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultIdentifierPluralLower, getDefaultIdentifierPluralUpper, getDefaultIdentifierSingularLower, getDefaultIdentifierSingularUpperprotected Registry registry
protected BaseManager(Registry registry)
public C getPrimaryComponent()
ManagerComponent as defined by
Keys.DATA_STORE_NAME in the current Registry.
The current Component implementation is defined as the
implementation provided by Guice that meets the following criteria:
The value for Keys.DATA_STORE_NAME found by
the the current Registry must match (ignored case) a registered
datastore implementation. This can be one of the following predefined values:
"mongodb""xodus"or a custom value defined by your guice module.
For example, 'mongodb' (or any capitalization thereof) will match
a Component annotated with Named(value = "mongodb"
Use BindingExtensions to bind your component implementations
getPrimaryComponent in interface Manager<C extends Component<?,?>>Component implementationComponent,
BindingExtensions