public class EventListenersFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean
event listeners
within
XML can be cumbersome.Modifier and Type | Field and Description |
---|---|
protected boolean |
debugAll |
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
|
public EventListenersFactoryBean(CurrentDetails cd, TokenHolder th, ACLVoter voter, OmeroInterceptor interceptor)
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean
public boolean isSingleton()
FactoryBean
will only ever
create one instance.isSingleton
in interface org.springframework.beans.factory.FactoryBean
isSingleton
in class org.springframework.beans.factory.config.AbstractFactoryBean
protected Object createInstance() throws Exception
createInstance
in class org.springframework.beans.factory.config.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.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.