com.stratelia.webactiv.node
Class NodeBmProvider
java.lang.Object
com.stratelia.webactiv.node.NodeBmProvider
@Named
public class NodeBmProvider
- extends Object
The NodeBm provider encapsulates the way the NodeBm service is accessed. It's managed by the IoC
container.
It provides a way to access the EJB 2 for bean managed by an IoC container both in a production
and in a test runtime environment. For the test runtime environment it provides a setter to set
explicitly the NodeBm instance to use in the tests.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeBmProvider
public NodeBmProvider()
getNodeBm
public NodeBm getNodeBm()
setNodeBm
public void setNodeBm(NodeBm nodeBm)
- This method is dedicated for tests.
- Parameters:
nodeBm
- the NodeBm instance to use.
Copyright © 2016 Silverpeas. All Rights Reserved.