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.Exception
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbCreate() throws javax.ejb.CreateException, java.rmi.RemoteException
javax.ejb.CreateException
java.rmi.RemoteException
public 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 Holmes
method
- is a method of CLBrowser or "execSvc"context
- is a SvcContext serializationGenericFault
public byte[] execSvc(byte[] context) throws GenericFault
execSvc
in interface Holmes
GenericFault
public java.lang.String echo(java.lang.String s)