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 java.lang.Object implements org.springframework.beans.factory.InitializingBean, EnLinkdElementFactoryInterface
-
-
Constructor Summary
Constructors Constructor Description EnLinkdElementFactory()
-
Method Summary
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.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 java.util.List<OspfLinkNode> getOspfLinks(int nodeId)
- Specified by:
getOspfLinks
in 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:
getCdpElement
in interfaceEnLinkdElementFactoryInterface
-
getCdpLinks
public java.util.List<CdpLinkNode> getCdpLinks(int nodeId)
- Specified by:
getCdpLinks
in 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:
getLldpElement
in interfaceEnLinkdElementFactoryInterface
-
getLldpLinks
public java.util.List<LldpLinkNode> getLldpLinks(int nodeId)
- Specified by:
getLldpLinks
in interfaceEnLinkdElementFactoryInterface
-
getIsisElement
public IsisElementNode getIsisElement(int nodeId)
- Specified by:
getIsisElement
in interfaceEnLinkdElementFactoryInterface
-
getIsisLinks
public java.util.List<IsisLinkNode> getIsisLinks(int nodeId)
- Specified by:
getIsisLinks
in interfaceEnLinkdElementFactoryInterface
-
getBridgeElements
public java.util.List<BridgeElementNode> getBridgeElements(int nodeId)
- Specified by:
getBridgeElements
in interfaceEnLinkdElementFactoryInterface
-
getBridgeLinks
public java.util.Collection<BridgeLinkNode> getBridgeLinks(int nodeId)
- Specified by:
getBridgeLinks
in interfaceEnLinkdElementFactoryInterface
-
-