public class BeanHelper
extends java.lang.Object
Constructor and Description |
---|
BeanHelper(java.lang.Class implementationClass) |
Modifier and Type | Method and Description |
---|---|
void |
acquireContext()
Lazy loads the application context, which means that if we're not in
the application server, then the
OmeroContext.MANAGED_CONTEXT
should never get loaded. |
void |
configure(ome.system.SelfConfigurableService bean) |
org.slf4j.Logger |
getLogger() |
java.lang.String |
getLogString(ome.system.SelfConfigurableService bean) |
void |
passivationNotAllowed() |
void |
throwIfAlreadySet(java.lang.Object current,
java.lang.Object injected) |
java.lang.Exception |
translateException(java.lang.Throwable t) |
public final void acquireContext()
OmeroContext.MANAGED_CONTEXT
should never get loaded.public final void configure(ome.system.SelfConfigurableService bean)
public void throwIfAlreadySet(java.lang.Object current, java.lang.Object injected)
public void passivationNotAllowed()
public java.lang.Exception translateException(java.lang.Throwable t)
public org.slf4j.Logger getLogger()
public java.lang.String getLogString(ome.system.SelfConfigurableService bean)