org.jmx4odp.junitDiagnosticWorkers
Class BasicEjbTest

java.lang.Object
  extended by TestCase
      extended by org.jmx4odp.junitDiagnosticWorkers.RemoteObjectTest
          extended by org.jmx4odp.junitDiagnosticWorkers.BasicEjbTest

public class BasicEjbTest
extends RemoteObjectTest

This test will fetch the EJB remote handle via a InitialContext.lookup the test if it can fetch the EJBMetaData.

Author:
Lucas McGregor

Constructor Summary
BasicEjbTest()
          Creates a new instance of RemoteObjectTestExample
 
Method Summary
 java.lang.String getJndiName()
          Access the JNDI name for the EJB's remote home
 java.lang.String getProviderUrl()
          Access the Context.PROVIDER_URL of the initial context used to lookup the remote home
 void setJndiName(java.lang.String s)
          Access the JNDI name for the EJB's remote home
 void setProviderUrl(java.lang.String s)
          Access the Context.PROVIDER_URL of the initial context used to lookup the remote home
 void test_AccessEJB()
           
 
Methods inherited from class org.jmx4odp.junitDiagnosticWorkers.RemoteObjectTest
getRemoteObject, getRemoteObject, getRemoteObject, getRemoteObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicEjbTest

public BasicEjbTest()
Creates a new instance of RemoteObjectTestExample

Method Detail

setJndiName

public void setJndiName(java.lang.String s)
Access the JNDI name for the EJB's remote home


getJndiName

public java.lang.String getJndiName()
Access the JNDI name for the EJB's remote home


setProviderUrl

public void setProviderUrl(java.lang.String s)
Access the Context.PROVIDER_URL of the initial context used to lookup the remote home


getProviderUrl

public java.lang.String getProviderUrl()
Access the Context.PROVIDER_URL of the initial context used to lookup the remote home


test_AccessEJB

public void test_AccessEJB()