T - instance typepublic abstract class BundleItemInfoImpl<T> extends InstanceItemInfoImpl<T> implements BundleItemInfo<T>
| Constructor and Description |
|---|
BundleItemInfoImpl(ConfigItem type,
java.lang.Class<?> item) |
BundleItemInfoImpl(ConfigItem type,
T instance) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<ItemId> |
getDisabledBy()
Item may be disabled either from root application class or from
GuiceyBundle. |
boolean |
isEnabled()
Item is enabled if no one disable it (
DisableSupport.getDisabledBy() is empty). |
getDuplicates, getInstance, getInstanceCount, setInstanceCount, toStringcountRegistrationAttempt, getId, getIgnoresByScope, getIgnoresByScope, getItemType, getRegisteredBy, getRegistrationAttempts, getRegistrationScope, getRegistrationScopeType, getType, isRegistered, isRegisteredDirectlyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDropwizard, isTransitivegetDuplicates, getInstance, getInstanceCountgetId, getIgnoresByScope, getIgnoresByScope, getItemType, getRegisteredBy, getRegistrationAttempts, getRegistrationScope, getRegistrationScopeType, getType, isRegistered, isRegisteredDirectlypublic BundleItemInfoImpl(ConfigItem type, java.lang.Class<?> item)
public BundleItemInfoImpl(ConfigItem type, T instance)
public java.util.Set<ItemId> getDisabledBy()
DisableSupportGuiceyBundle. For application,
Application class stored as context and for guicey bundle actual bundle instance id
is stored.getDisabledBy in interface DisableSupportpublic boolean isEnabled()
DisableSupportDisableSupport.getDisabledBy() is empty).isEnabled in interface DisableSupport