Class AbstractTestAggregator
- java.lang.Object
-
- org.glassfish.jersey.examples.aggregator.AbstractTestAggregator
-
- All Implemented Interfaces:
DataAggregator
- Direct Known Subclasses:
TestAggregatorJaxRs,TestAggregatorJersey
public abstract class AbstractTestAggregator extends Object implements DataAggregator
Fake message aggregator used for testing purposes.- Author:
- Marek Potociar, Adam Lindenthal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringgetPath()Get relative path to the event stream.protected abstract StringgetPrefix()Get message prefix to identify the concrete aggregator.voidstart(String keywords, DataListener msgListener)voidstop()
-
-
-
Method Detail
-
start
public void start(String keywords, DataListener msgListener)
- Specified by:
startin interfaceDataAggregator
-
stop
public void stop()
- Specified by:
stopin interfaceDataAggregator
-
getPath
protected abstract String getPath()
Get relative path to the event stream.
-
getPrefix
protected abstract String getPrefix()
Get message prefix to identify the concrete aggregator.- Returns:
- message prefix (aggregator qualifier)
-
-