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.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.