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 void
afterPropertiesSet()
CdpLinkNode
convertFromModel(int nodeid, CdpLink link)
OspfLinkNode
convertFromModel(int nodeid, OspfLink link)
CdpLinkNode
create(int nodeid, CdpLink link)
OspfLinkNode
create(int nodeid, OspfLink link)
List<BridgeElementNode>
getBridgeElements(int nodeId)
Collection<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)
-
convertFromModel
@Transactional public OspfLinkNode convertFromModel(int nodeid, OspfLink link)
-
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)
-
convertFromModel
@Transactional public CdpLinkNode convertFromModel(int nodeid, CdpLink link)
-
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 Collection<BridgeLinkNode> getBridgeLinks(int nodeId)
- Specified by:
getBridgeLinks
in interfaceEnLinkdElementFactoryInterface
-
-