|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for T3Servlets. A T3Servlet must implement the methods in this interface. The work of the T3Servlet is done in the execute() method.
To instantiate and then use a T3Servlet, call getT3Servlet() (in weblogic.remote.common.RemoteServicesDef, which defines a RemoteT3 services factory) with a class that implements this interface, as shown in the example. Then call the execute() method with a ParamSet whose parameters match those declared in the implementing class.
Here's an example of how the interface is used:
T3Client t3 = new T3Client("t3://host:port"); // Manufacture a T3Servlet object for the client T3ServletDef ts = t3.services.remote() .getT3Servlet("tutorial.remote.mail.mailer"); // Execute the T3Servlet with methods from the T3Servlet // object's class, where "ps" is a ParamSet ts.execute(ps);
For more information, see the WebLogic Server documentation
RemoteServicesDef
,
ParamSet
Method Summary | |
void |
declareParams(ParamSet p)
Deprecated. Use RMI instead. |
void |
execute(ParamSet p)
Deprecated. Use RMI instead. |
void |
setServices(T3ServicesDef services)
Deprecated. Use RMI instead. |
Method Detail |
public void setServices(T3ServicesDef services)
services
- T3ServletDef objectpublic void execute(ParamSet p) throws java.lang.Exception
p
- ParamSet with parameters for the remote
method invocationpublic void declareParams(ParamSet p) throws ParamSetException
p
- ParamSet object
|
Documentation is available at http://www.weblogic.com/docs51 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |