|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.connector.DataAccessObject
Info*Engine data access object.
this object is a convenience for EJB developers.
Info*Engine can use exposed WSDL to generate Data Access Objects to be used
in EJB development.
Field Summary | |
protected String |
className
|
protected javax.resource.cci.Connection |
cx
|
private Method |
DESERIALIZE_METHOD
|
protected javax.resource.cci.RecordFactory |
rf
|
private Method |
SERIALIZE_METHOD
|
Constructor Summary | |
DataAccessObject(javax.resource.cci.Connection c,
javax.resource.cci.RecordFactory r,
String cls)
construct a new DataAccessObject that can execute methods on a SOAP class |
Method Summary | |
void |
close()
Closes this Data Access Object. |
protected Object |
execute(String functionName,
String[] parmNames,
Object[] parmValues)
execute a method on a SOAP class. the size of parmNames and parmValues must be equal. |
protected void |
setDeserializeMethod(Method m)
Hook added to allow DCA to deserialize straight to I*E data structures for performance improvements. |
protected void |
setSerializeMethod(Method m)
Hook added to allow DCA to serialize straight from I*E data structures for performance improvements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.resource.cci.Connection cx
protected javax.resource.cci.RecordFactory rf
protected String className
private Method SERIALIZE_METHOD
private Method DESERIALIZE_METHOD
Constructor Detail |
public DataAccessObject(javax.resource.cci.Connection c, javax.resource.cci.RecordFactory r, String cls)
c
- the cci connection to user
- the record factory to use when creating input recordscls
- the SOAP class to use when executing methodsMethod Detail |
protected void setSerializeMethod(Method m)
package access so that extensions can manipulate.
m
- The serialize method method must be static and accept the following args (String,Object,SOAPElement,SOAPMessage)protected void setDeserializeMethod(Method m)
package access so that extensions can manipulate.
m
- The deserialize method method must be static and accept SOAPMessage as single paramprotected Object execute(String functionName, String[] parmNames, Object[] parmValues) throws Exception
functionName
- the function/method to executeparmNames
- the parameter names this method acceptsparmValues
- the parameter values used to execute this method
Exception
public void close() throws javax.resource.ResourceException
javax.resource.ResourceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |