com.stratelia.webactiv.node
Class NodeBmProvider

java.lang.Object
  extended by 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.


Constructor Summary
NodeBmProvider()
           
 
Method Summary
 NodeBm getNodeBm()
           
 void setNodeBm(NodeBm nodeBm)
          This method is dedicated for tests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeBmProvider

public NodeBmProvider()
Method Detail

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.