ome.services.util
Class BeanHelper
java.lang.Object
ome.services.util.BeanHelper
public class BeanHelper
- extends Object
Helper for all bean implementations. This allows us to (largely) not subclass
a single abstract bean.
- Since:
- 3.0-Beta2
- Author:
- Josh Moore, josh.moore at gmx.de
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanHelper
public BeanHelper(Class implementationClass)
acquireContext
public final 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.
configure
public final void configure(SelfConfigurableService bean)
throwIfAlreadySet
public void throwIfAlreadySet(Object current,
Object injected)
passivationNotAllowed
public void passivationNotAllowed()
translateException
public Exception translateException(Throwable t)
getLogger
public org.apache.commons.logging.Log getLogger()
getLogString
public String getLogString(SelfConfigurableService bean)
OmeroJava Api
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.