Class AppClient<IC,ICP extends InvocationProxy<IC>>
java.lang.Object
com.sun.ts.tests.common.vehicle.none.proxy.AppClient<IC,ICP>
The appclient main entry point that creates a proxy to the server side client test. Used by the
non-vehicle appclient tests that were previously invoking remote ejbs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Class[]
Classes used by the AppClient that needs to be added to the proxy deployment.protected ICP
getInvocationProxy
(String webServerHost, String webServerPort) Get the invocation proxy class from the reified type argumentsprotected Class<?>[]
Get the reified type arguments bound by the subclassvoid
-
Constructor Details
-
AppClient
public AppClient()
-
-
Method Details
-
getAppClasses
Classes used by the AppClient that needs to be added to the proxy deployment.- Returns:
- the classes used by the AppClient
-
run
- Throws:
IOException
-
getInvocationProxy
protected ICP getInvocationProxy(String webServerHost, String webServerPort) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException -
getInvocationProxyClass
Get the invocation proxy class from the reified type arguments- Returns:
- the invocation proxy class
-
getReifiedTypeArguments
Get the reified type arguments bound by the subclass- Returns:
- - the reified type arguments
-