Class TcpOutputStrategyFactory
- java.lang.Object
-
- org.opennms.netmgt.collection.persistence.tcp.TcpOutputStrategyFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class TcpOutputStrategyFactory extends java.lang.Object implements org.springframework.context.ApplicationContextAware
Constructs the appropriate TCP output strategy based on the configured system properties. Optionally wraps the strategy with a queue.
-
-
Constructor Summary
Constructors Constructor Description TcpOutputStrategyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcpOutputStrategy
getStrategy()
void
setApplicationContext(org.springframework.context.ApplicationContext context)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context)
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
getStrategy
public TcpOutputStrategy getStrategy()
-
-