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
-
-
Constructor Summary
Constructors Constructor Description EnLinkdElementFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()CdpLinkNodeconvertFromModel(int nodeid, CdpLink link)OspfLinkNodeconvertFromModel(int nodeid, OspfLink link)CdpLinkNodecreate(int nodeid, CdpLink link)OspfLinkNodecreate(int nodeid, OspfLink link)List<BridgeElementNode>getBridgeElements(int nodeId)Collection<BridgeLinkNode>getBridgeLinks(int nodeId)CdpElementNodegetCdpElement(int nodeId)List<CdpLinkNode>getCdpLinks(int nodeId)static EnLinkdElementFactoryInterfacegetInstance(javax.servlet.ServletContext servletContext)static EnLinkdElementFactoryInterfacegetInstance(org.springframework.context.ApplicationContext appContext)IsisElementNodegetIsisElement(int nodeId)List<IsisLinkNode>getIsisLinks(int nodeId)LldpElementNodegetLldpElement(int nodeId)List<LldpLinkNode>getLldpLinks(int nodeId)OspfElementNodegetOspfElement(int nodeId)List<OspfLinkNode>getOspfLinks(int nodeId)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin 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:
getOspfElementin interfaceEnLinkdElementFactoryInterface
-
getOspfLinks
public List<OspfLinkNode> getOspfLinks(int nodeId)
- Specified by:
getOspfLinksin interfaceEnLinkdElementFactoryInterface
-
create
public OspfLinkNode create(int nodeid, OspfLink link)
-
convertFromModel
@Transactional public OspfLinkNode convertFromModel(int nodeid, OspfLink link)
-
getCdpElement
public CdpElementNode getCdpElement(int nodeId)
- Specified by:
getCdpElementin interfaceEnLinkdElementFactoryInterface
-
getCdpLinks
public List<CdpLinkNode> getCdpLinks(int nodeId)
- Specified by:
getCdpLinksin interfaceEnLinkdElementFactoryInterface
-
create
public CdpLinkNode create(int nodeid, CdpLink link)
-
convertFromModel
@Transactional public CdpLinkNode convertFromModel(int nodeid, CdpLink link)
-
getLldpElement
public LldpElementNode getLldpElement(int nodeId)
- Specified by:
getLldpElementin interfaceEnLinkdElementFactoryInterface
-
getLldpLinks
public List<LldpLinkNode> getLldpLinks(int nodeId)
- Specified by:
getLldpLinksin interfaceEnLinkdElementFactoryInterface
-
getIsisElement
public IsisElementNode getIsisElement(int nodeId)
- Specified by:
getIsisElementin interfaceEnLinkdElementFactoryInterface
-
getIsisLinks
public List<IsisLinkNode> getIsisLinks(int nodeId)
- Specified by:
getIsisLinksin interfaceEnLinkdElementFactoryInterface
-
getBridgeElements
public List<BridgeElementNode> getBridgeElements(int nodeId)
- Specified by:
getBridgeElementsin interfaceEnLinkdElementFactoryInterface
-
getBridgeLinks
public Collection<BridgeLinkNode> getBridgeLinks(int nodeId)
- Specified by:
getBridgeLinksin interfaceEnLinkdElementFactoryInterface
-
-