public class ExtensionItemInfoImpl extends ClassItemInfoImpl implements ExtensionItemInfo
| Constructor and Description |
|---|
ExtensionItemInfoImpl(java.lang.Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<ItemId> |
getDisabledBy()
Item may be disabled either from root application class or from
GuiceyBundle. |
java.lang.Class<? extends FeatureInstaller> |
getInstalledBy()
Each extension is always registered by single installer.
|
FeatureInstaller |
getInstaller() |
com.google.inject.Binding |
getManualBinding() |
boolean |
isEnabled()
Item is enabled if no one disable it (
DisableSupport.getDisabledBy() is empty). |
boolean |
isFromScan() |
boolean |
isGuiceBinding()
Indicates extensions, recognized from guice modules.
|
boolean |
isJerseyManaged()
Indicates extension management by jersey instead of guice.
|
boolean |
isLazy()
Lazy beans are not registered in guice by default.
|
void |
setInstaller(FeatureInstaller installer) |
void |
setJerseyManaged(boolean jerseyManaged) |
void |
setLazy(boolean lazy) |
void |
setManualBinding(com.google.inject.Binding manualBinding) |
countRegistrationAttempt, getId, getIgnoresByScope, getIgnoresByScope, getItemType, getRegisteredBy, getRegistrationAttempts, getRegistrationScope, getRegistrationScopeType, getType, isRegistered, isRegisteredDirectly, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, getIgnoresByScope, getIgnoresByScope, getItemType, getRegisteredBy, getRegistrationAttempts, getRegistrationScope, getRegistrationScopeType, getType, isRegistered, isRegisteredDirectlypublic 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 DisableSupportpublic java.lang.Class<? extends FeatureInstaller> getInstalledBy()
ExtensionItemInfogetInstalledBy in interface ExtensionItemInfopublic boolean isFromScan()
isFromScan in interface ScanSupportpublic boolean isLazy()
ExtensionItemInfoisLazy in interface ExtensionItemInfoLazyBinding, false otherwisepublic boolean isJerseyManaged()
ExtensionItemInfoisJerseyManaged in interface ExtensionItemInfoJerseyManaged, false otherwisepublic boolean isGuiceBinding()
ExtensionItemInfoisGuiceBinding in interface ExtensionItemInfopublic void setLazy(boolean lazy)
public void setJerseyManaged(boolean jerseyManaged)
public void setManualBinding(com.google.inject.Binding manualBinding)
public com.google.inject.Binding getManualBinding()
public FeatureInstaller getInstaller()
public void setInstaller(FeatureInstaller installer)