public class BeanHelper extends Object
Constructor and Description |
---|
BeanHelper(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() |
String |
getLogString(SelfConfigurableService bean) |
void |
passivationNotAllowed() |
void |
throwIfAlreadySet(Object current,
Object injected) |
Exception |
translateException(Throwable t) |
public BeanHelper(Class implementationClass)
public final void acquireContext()
OmeroContext.MANAGED_CONTEXT
should never get loaded.public final void configure(SelfConfigurableService bean)
public void passivationNotAllowed()
public org.slf4j.Logger getLogger()
public String getLogString(SelfConfigurableService bean)
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.