public abstract class BundleItemInfoImpl extends InstanceItemInfoImpl implements BundleItemInfo
| Constructor and Description |
|---|
BundleItemInfoImpl(ConfigItem type,
java.lang.Class<? extends GuiceyBundle> item) |
BundleItemInfoImpl(ConfigItem type,
java.lang.Object 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<? extends GuiceyBundle> item)
public BundleItemInfoImpl(ConfigItem type, java.lang.Object 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