| Constructor and Description |
|---|
HolmesImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
echo(java.lang.String s)
Business method
|
void |
ejbActivate() |
void |
ejbCreate()
Default create method
|
void |
ejbPassivate() |
void |
ejbRemove() |
java.lang.String |
exec(java.lang.String method,
java.lang.String[] args,
java.lang.String[] types) |
byte[] |
exec2(java.lang.String method,
byte[] context)
New implementation of the exec adapted for JAX-WS web service stack
The main difference is that it is no longer needed to encode into base64 text
Byte arrays are encoded using Message Transmission Optimization Mechanism (MTOM)
and XML-Binary Optimized Packaging (XOP).
|
byte[] |
execSvc(byte[] context) |
int |
save(java.lang.String filename,
byte[] content)
Business method
|
void |
setSessionContext(javax.ejb.SessionContext ctx) |
public HolmesImpl()
throws java.lang.Exception
java.lang.Exceptionpublic void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException,
java.rmi.RemoteException
javax.ejb.EJBExceptionjava.rmi.RemoteExceptionpublic void ejbRemove()
throws javax.ejb.EJBException,
java.rmi.RemoteException
javax.ejb.EJBExceptionjava.rmi.RemoteExceptionpublic void ejbActivate()
throws javax.ejb.EJBException,
java.rmi.RemoteException
javax.ejb.EJBExceptionjava.rmi.RemoteExceptionpublic void ejbPassivate()
throws javax.ejb.EJBException,
java.rmi.RemoteException
javax.ejb.EJBExceptionjava.rmi.RemoteExceptionpublic void ejbCreate()
throws javax.ejb.CreateException,
java.rmi.RemoteException
javax.ejb.CreateExceptionjava.rmi.RemoteExceptionpublic java.lang.String exec(java.lang.String method,
java.lang.String[] args,
java.lang.String[] types)
public byte[] exec2(java.lang.String method,
byte[] context)
throws GenericFault
exec2 in interface Holmesmethod - is a method of CLBrowser or "execSvc"context - is a SvcContext serializationGenericFaultpublic byte[] execSvc(byte[] context)
throws GenericFault
execSvc in interface HolmesGenericFaultpublic java.lang.String echo(java.lang.String s)