public abstract class LongCounter extends Object implements org.springframework.context.ApplicationEventPublisherAware
InternalMessage
subclass.Modifier and Type | Field and Description |
---|---|
protected long |
count |
Constructor and Description |
---|
LongCounter(int interval) |
Modifier and Type | Method and Description |
---|---|
void |
increment(int incr) |
protected abstract InternalMessage |
message() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
Set the ApplicationEventPublisher that this object runs in.
|
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
org.springframework.context.ApplicationEventPublisherAware
Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method. Invoked before ApplicationContextAware's setApplicationContext.
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
applicationEventPublisher
- event publisher to be used by this objectpublic void increment(int incr)
protected abstract InternalMessage message()
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.