Package org.opennms.web.enlinkd
Class EnLinkdElementFactory
- java.lang.Object
-
- org.opennms.web.enlinkd.EnLinkdElementFactory
-
- All Implemented Interfaces:
EnLinkdElementFactoryInterface
,org.springframework.beans.factory.InitializingBean
@Transactional(readOnly=true) public class EnLinkdElementFactory extends Object implements org.springframework.beans.factory.InitializingBean, EnLinkdElementFactoryInterface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.web.enlinkd.EnLinkdElementFactoryInterface
EnLinkdElementFactoryInterface.ElementsAndLinks
-
-
Constructor Summary
Constructors Constructor Description EnLinkdElementFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
CdpLinkNode
convertFromModel(int nodeid, CdpLink link, org.opennms.web.enlinkd.EnLinkdElementFactory.SnmpInterfaceCache snmpInterfaceCache, org.opennms.web.enlinkd.EnLinkdElementFactory.UniqueMapCache<String,CdpElement> deviceIdToCdpElement)
OspfLinkNode
convertFromModel(int nodeid, OspfLink link, org.opennms.web.enlinkd.EnLinkdElementFactory.SnmpInterfaceCache snmpInterfaceCache, org.opennms.web.enlinkd.EnLinkdElementFactory.UniqueMapCache<InetAddress,OspfElement> remRouterIdToOspfElement)
CdpLinkNode
create(int nodeid, CdpLink link, org.opennms.web.enlinkd.EnLinkdElementFactory.SnmpInterfaceCache snmpInterfaceCache)
OspfLinkNode
create(int nodeid, OspfLink link, org.opennms.web.enlinkd.EnLinkdElementFactory.SnmpInterfaceCache snmpInterfaceCache)
EnLinkdElementFactoryInterface.ElementsAndLinks
getAll(int nodeId)
List<BridgeElementNode>
getBridgeElements(int nodeId)
List<BridgeLinkNode>
getBridgeLinks(int nodeId)
CdpElementNode
getCdpElement(int nodeId)
List<CdpLinkNode>
getCdpLinks(int nodeId)
static EnLinkdElementFactoryInterface
getInstance(javax.servlet.ServletContext servletContext)
static EnLinkdElementFactoryInterface
getInstance(org.springframework.context.ApplicationContext appContext)
IsisElementNode
getIsisElement(int nodeId)
List<IsisLinkNode>
getIsisLinks(int nodeId)
LldpElementNode
getLldpElement(int nodeId)
List<LldpLinkNode>
getLldpLinks(int nodeId)
OspfElementNode
getOspfElement(int nodeId)
List<OspfLinkNode>
getOspfLinks(int nodeId)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getInstance
public static EnLinkdElementFactoryInterface getInstance(javax.servlet.ServletContext servletContext)
-
getInstance
public static EnLinkdElementFactoryInterface getInstance(org.springframework.context.ApplicationContext appContext)
-
getOspfElement
public OspfElementNode getOspfElement(int nodeId)
- Specified by:
getOspfElement
in interfaceEnLinkdElementFactoryInterface
-
getOspfLinks
public List<OspfLinkNode> getOspfLinks(int nodeId)
- Specified by:
getOspfLinks
in interfaceEnLinkdElementFactoryInterface
-
create
public OspfLinkNode create(int nodeid, OspfLink link, org.opennms.web.enlinkd.EnLinkdElementFactory.SnmpInterfaceCache snmpInterfaceCache)
-
convertFromModel
public OspfLinkNode convertFromModel(int nodeid, OspfLink link, org.opennms.web.enlinkd.EnLinkdElementFactory.SnmpInterfaceCache snmpInterfaceCache, org.opennms.web.enlinkd.EnLinkdElementFactory.UniqueMapCache<InetAddress,OspfElement> remRouterIdToOspfElement)
-
getCdpElement
public CdpElementNode getCdpElement(int nodeId)
- Specified by:
getCdpElement
in interfaceEnLinkdElementFactoryInterface
-
getCdpLinks
public List<CdpLinkNode> getCdpLinks(int nodeId)
- Specified by:
getCdpLinks
in interfaceEnLinkdElementFactoryInterface
-
create
public CdpLinkNode create(int nodeid, CdpLink link, org.opennms.web.enlinkd.EnLinkdElementFactory.SnmpInterfaceCache snmpInterfaceCache)
-
convertFromModel
public CdpLinkNode convertFromModel(int nodeid, CdpLink link, org.opennms.web.enlinkd.EnLinkdElementFactory.SnmpInterfaceCache snmpInterfaceCache, org.opennms.web.enlinkd.EnLinkdElementFactory.UniqueMapCache<String,CdpElement> deviceIdToCdpElement)
-
getLldpElement
public LldpElementNode getLldpElement(int nodeId)
- Specified by:
getLldpElement
in interfaceEnLinkdElementFactoryInterface
-
getLldpLinks
public List<LldpLinkNode> getLldpLinks(int nodeId)
- Specified by:
getLldpLinks
in interfaceEnLinkdElementFactoryInterface
-
getIsisElement
public IsisElementNode getIsisElement(int nodeId)
- Specified by:
getIsisElement
in interfaceEnLinkdElementFactoryInterface
-
getIsisLinks
public List<IsisLinkNode> getIsisLinks(int nodeId)
- Specified by:
getIsisLinks
in interfaceEnLinkdElementFactoryInterface
-
getBridgeElements
public List<BridgeElementNode> getBridgeElements(int nodeId)
- Specified by:
getBridgeElements
in interfaceEnLinkdElementFactoryInterface
-
getBridgeLinks
public List<BridgeLinkNode> getBridgeLinks(int nodeId)
- Specified by:
getBridgeLinks
in interfaceEnLinkdElementFactoryInterface
-
getAll
public EnLinkdElementFactoryInterface.ElementsAndLinks getAll(int nodeId)
- Specified by:
getAll
in interfaceEnLinkdElementFactoryInterface
-
-