public class EventListenersFactoryBean extends AbstractFactoryBean
event listeners
within
XML can be cumbersome.Modifier and Type | Field and Description |
---|---|
protected boolean |
debugAll |
logger
Constructor and Description |
---|
EventListenersFactoryBean(CurrentDetails cd,
TokenHolder th,
ACLVoter voter,
OmeroInterceptor interceptor) |
Modifier and Type | Method and Description |
---|---|
protected void |
additions() |
protected void |
append(String key,
Object... objs)
appends the objects to the existing list identified by key.
|
protected Object |
createInstance()
First, adds all default listeners.
|
Class |
getObjectType()
|
boolean |
isSingleton()
being a singleton implies that this
FactoryBean will only ever
create one instance. |
protected void |
override(String[] keys,
Object object)
calls override for each key
|
protected void |
override(String key,
Object object)
first re-initializes the list for key, and then adds object
|
protected void |
overrides() |
protected void |
prepend(String key,
Object... objs)
adds the objects to the existing list identified by key.
|
protected void |
put(String key,
Object[] objs)
replaces the key with the provided objects or an empty list if none
provided
|
void |
setDebugAll(boolean debug)
for setter injection
|
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, setBeanClassLoader, setBeanFactory, setSingleton
public EventListenersFactoryBean(CurrentDetails cd, TokenHolder th, ACLVoter voter, OmeroInterceptor interceptor)
public Class getObjectType()
getObjectType
in interface FactoryBean
getObjectType
in class AbstractFactoryBean
public boolean isSingleton()
FactoryBean
will only ever
create one instance.isSingleton
in interface FactoryBean
isSingleton
in class AbstractFactoryBean
protected Object createInstance() throws Exception
createInstance
in class AbstractFactoryBean
Exception
public void setDebugAll(boolean debug)
protected void overrides()
protected void additions()
protected void override(String key, Object object)
protected void append(String key, Object... objs)
protected void prepend(String key, Object... objs)
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.