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(java.lang.String key,
java.lang.Object... objs)
appends the objects to the existing list identified by key.
|
protected java.lang.Object |
createInstance()
First, adds all default listeners.
|
java.lang.Class |
getObjectType()
this
FactoryBean produces a Map instance for use in
LocalSessionFactoryBean.setEventListeners(Map) |
boolean |
isSingleton()
being a singleton implies that this
FactoryBean will only ever
create one instance. |
protected void |
override(java.lang.String[] keys,
java.lang.Object object)
calls override for each key
|
protected void |
override(java.lang.String key,
java.lang.Object object)
first re-initializes the list for key, and then adds object
|
protected void |
overrides() |
protected void |
prepend(java.lang.String key,
java.lang.Object... objs)
adds the objects to the existing list identified by key.
|
protected void |
put(java.lang.String key,
java.lang.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 java.lang.Class getObjectType()
FactoryBean
produces a Map
instance for use in
LocalSessionFactoryBean.setEventListeners(Map)
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 java.lang.Object createInstance() throws java.lang.Exception
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean
java.lang.Exception
public void setDebugAll(boolean debug)
protected void overrides()
protected void additions()
protected void override(java.lang.String[] keys, java.lang.Object object)
protected void override(java.lang.String key, java.lang.Object object)
protected void append(java.lang.String key, java.lang.Object... objs)
protected void prepend(java.lang.String key, java.lang.Object... objs)
protected void put(java.lang.String key, java.lang.Object[] objs)