|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjetif.ext.proxy.EJBProxy
This class EJBProxy represents the EJB proxy to connect
the proxy agent bean.
Following steps are required to use the EJB proxy.
jetif.proxy.agent.uri = custom/proxy/agent/JNDI/name
java.naming.factory.initial = com.ibm.websphere.naming.WsnInitialContextFactory java.naming.provider.url = iiop://localhost:2809/
jetif.class.path = /home/wtl/jetif/samples/jetif-sample.jarPlease note the jetif.jar is included in the EAR (step 1), so it's unnecessary to include the jetif.jar in the jetif.class.path.
<suite name="remote" class="sample.FirstSuite" proxyclass="jetif.ext.proxy.EJBProxy"> ...
java -cp $CLASSPATH jetif.ui.Console your.suite.specPlease make sure the EJB client jar file generated by deploy tool has been included in the $CLASSPATH. The testing will be ran on the application server.
| Field Summary | |
static String |
DEFAULT_JNDI_NAME
The default JNDI name of the proxy EJB. |
| Constructor Summary | |
EJBProxy()
|
|
| Method Summary | |
void |
close()
Close this proxy |
void |
open(Properties props,
String data)
Open this proxy for testing. |
String |
runCase(String input)
Run a test case. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String DEFAULT_JNDI_NAME
| Constructor Detail |
public EJBProxy()
| Method Detail |
public void open(Properties props,
String data)
throws FrameworkException
open in interface LwProxyprops - The properties object of this suite.data - The data should be transmitted to remote proxy agent, encoded
in Base64 encoding.
FrameworkException - if errors occurs try to bind proxy agent.
public String runCase(String input)
throws FrameworkException
runCase in interface LwProxyinput - the data should be transmitted to remote proxy agent, encoded
in Base64 encoding.
FrameworkException - if error occurs during testing.
public void close()
throws FrameworkException
close in interface LwProxyFrameworkException
|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||