|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
org.jmx4odp.junitDiagnosticWorkers.RemoteObjectTest
public class RemoteObjectTest
Extend or implement this test class for tests that use JNDI remote objects.
| Constructor Summary | |
|---|---|
RemoteObjectTest()
Creates a new instance of RemoteObjectTest |
|
| Method Summary | |
|---|---|
java.lang.Object |
getRemoteObject(javax.naming.InitialContext ic,
java.lang.String jndiName)
the same as initialContext.lookip(jndiName) |
java.lang.Object |
getRemoteObject(java.lang.String jndiName)
This will use the default InitialContext to lookup the jndi name and return the remoteObject. |
java.lang.Object |
getRemoteObject(java.lang.String jndiName,
java.util.Hashtable environment)
This will return a remoteObject from a initialConxt.lookup(). |
java.lang.Object |
getRemoteObject(java.lang.String jndiName,
java.lang.String resourceBundle)
This will return a remoteObject from a initialConxt.lookup(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteObjectTest()
| Method Detail |
|---|
public java.lang.Object getRemoteObject(java.lang.String jndiName,
java.lang.String resourceBundle)
throws java.lang.Exception
jndiName - jndi name of the remote object.resourceBundle - property file containg the jndi properties.
java.lang.Exception
public java.lang.Object getRemoteObject(java.lang.String jndiName,
java.util.Hashtable environment)
throws java.lang.Exception
jndiName - jndi name of the remote object.environment - InitialContext environment.
java.lang.Exception
public java.lang.Object getRemoteObject(java.lang.String jndiName)
throws java.lang.Exception
java.lang.Exception
public java.lang.Object getRemoteObject(javax.naming.InitialContext ic,
java.lang.String jndiName)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||