Class OnmsTopologyDaoInMemoryImpl
- java.lang.Object
-
- org.opennms.netmgt.topologies.service.impl.OnmsTopologyDaoInMemoryImpl
-
- All Implemented Interfaces:
OnmsTopologyDao
public class OnmsTopologyDaoInMemoryImpl extends java.lang.Object implements OnmsTopologyDao
-
-
Constructor Summary
Constructors Constructor Description OnmsTopologyDaoInMemoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<OnmsTopologyProtocol>
getSupportedProtocols()
java.util.Map<OnmsTopologyProtocol,OnmsTopology>
getTopologies()
OnmsTopology
getTopology(java.lang.String protocolSupported)
void
onBind(OnmsTopologyConsumer consumer, java.util.Map<java.lang.String,java.lang.String> properties)
void
onUnbind(OnmsTopologyConsumer consumer, java.util.Map<java.lang.String,java.lang.String> properties)
void
register(OnmsTopologyUpdater updater)
void
subscribe(OnmsTopologyConsumer consumer)
void
unregister(OnmsTopologyUpdater updater)
void
unsubscribe(OnmsTopologyConsumer consumer)
void
update(OnmsTopologyUpdater updater, OnmsTopologyMessage message)
-
-
-
Method Detail
-
getTopology
public OnmsTopology getTopology(java.lang.String protocolSupported)
- Specified by:
getTopology
in interfaceOnmsTopologyDao
-
getTopologies
public java.util.Map<OnmsTopologyProtocol,OnmsTopology> getTopologies()
- Specified by:
getTopologies
in interfaceOnmsTopologyDao
-
subscribe
public void subscribe(OnmsTopologyConsumer consumer)
- Specified by:
subscribe
in interfaceOnmsTopologyDao
-
unsubscribe
public void unsubscribe(OnmsTopologyConsumer consumer)
- Specified by:
unsubscribe
in interfaceOnmsTopologyDao
-
onBind
public void onBind(OnmsTopologyConsumer consumer, java.util.Map<java.lang.String,java.lang.String> properties)
-
onUnbind
public void onUnbind(OnmsTopologyConsumer consumer, java.util.Map<java.lang.String,java.lang.String> properties)
-
register
public void register(OnmsTopologyUpdater updater)
- Specified by:
register
in interfaceOnmsTopologyDao
-
unregister
public void unregister(OnmsTopologyUpdater updater)
- Specified by:
unregister
in interfaceOnmsTopologyDao
-
getSupportedProtocols
public java.util.Set<OnmsTopologyProtocol> getSupportedProtocols()
- Specified by:
getSupportedProtocols
in interfaceOnmsTopologyDao
-
update
public void update(OnmsTopologyUpdater updater, OnmsTopologyMessage message)
- Specified by:
update
in interfaceOnmsTopologyDao
-
-