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(SelfConfigurableService bean) |
org.slf4j.Logger |
getLogger() |
java.lang.String |
getLogString(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(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(SelfConfigurableService bean)
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.