org.mockcentral.server
Class SimpleBoundObjectBean

java.lang.Object
  extended by org.mockcentral.server.SimpleBoundObjectBean

public class SimpleBoundObjectBean
extends java.lang.Object

Bean class used to store data for simple (non-Mock) JNDI-bound Objects for use within a particular Fixture. All such Objects get automatically loaded into the Context when a Fixture is activated by calling the server's bindFixtureProxies method. This class wraps a SignaturePartBean to store the data used to create the Object and adds a JNDI name field for binding.

Author:
David Hutchinson
See Also:
Fixture, SignaturePartBean

Constructor Summary
SimpleBoundObjectBean()
           
 
Method Summary
 java.lang.String getJndiName()
          Returns the JNDI name under which the Object is bound.
 SignaturePartBean getSimpleBoundObjectData()
          Returns the SignaturePartBean containing the data used to construct the Object.
 void setJndiName(java.lang.String jndiName)
          Sets the JNDI name under which the Object is bound.
 void setSimpleBoundObjectData(SignaturePartBean simpleBoundObjectData)
          Sets the SignaturePartBean containing the data used to construct the Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBoundObjectBean

public SimpleBoundObjectBean()
Method Detail

getJndiName

public java.lang.String getJndiName()
Returns the JNDI name under which the Object is bound.

Returns:
the JNDI name under which the Object is bound.

setJndiName

public void setJndiName(java.lang.String jndiName)
Sets the JNDI name under which the Object is bound.

Parameters:
jndiName - the JNDI name under which the Object is bound.

getSimpleBoundObjectData

public SignaturePartBean getSimpleBoundObjectData()
Returns the SignaturePartBean containing the data used to construct the Object.

Returns:
the SignaturePartBean containing the data used to construct the Object.

setSimpleBoundObjectData

public void setSimpleBoundObjectData(SignaturePartBean simpleBoundObjectData)
Sets the SignaturePartBean containing the data used to construct the Object.

Parameters:
simpleBoundObjectData - the SignaturePartBean containing the data used to construct the Object.