|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ca.jcs.processor.AbstractBaseProcessor
com.ca.jcs.processor.AbstractMethodStyleOpProcessor
com.ca.jcs.jdbc.JDBCMethodStyleOpProcessor
public class JDBCMethodStyleOpProcessor
Delegate that handles invocation of stored procedures, after the framework has determined that the declared guard conditions match a particular operation.
| Field Summary | |
|---|---|
protected JDBCMetaConnector |
connector
|
| Fields inherited from class com.ca.jcs.processor.AbstractBaseProcessor |
|---|
ldapExceptionPrefix, log |
| Constructor Summary | |
|---|---|
JDBCMethodStyleOpProcessor(BaseConnector connector)
Transaction management works without needing to explicitly refer to connector's transactionManager because managed implicitly using
datasource and JDBCStoredProcedure. |
|
| Method Summary | |
|---|---|
void |
activate()
This method is called when the target object has been fully initialised, and is ready to receive requests. |
void |
deactivate()
This method is called when the target object is no longer needed and should tidy-up any connections / resources it holds. |
Attributes |
doLookup(OpBindingType opBinding,
ObjectInfo objInfo,
String[] attrIds)
|
NamingEnumeration<SearchResult> |
doSearch(OpBindingType opBinding,
Name baseName,
FilterInfo filterInfo,
Map<String,String> environment,
SearchControls searchControls)
todo Need to finalise exactly what the query interfaces look like (especially the iterator returns from them) ... |
void |
doUpdate(OpBindingType opBinding,
ObjectInfo objInfo,
Map<String,Object> parameterValues)
Sets null value for parameter mapped to OpBindingsHelper.ERROR_STATUS_ATTR
on success, otherwise sets it to description of error that occurred. |
Opbindings |
getMetaData()
|
void |
setMetaData(Opbindings opBindings)
Called when metadata used to configure this connector is changed. |
| Methods inherited from class com.ca.jcs.processor.AbstractBaseProcessor |
|---|
getBaseConnector, makeNamingException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final JDBCMetaConnector connector
| Constructor Detail |
|---|
public JDBCMethodStyleOpProcessor(BaseConnector connector)
transactionManager because managed implicitly using
datasource and JDBCStoredProcedure.
| Method Detail |
|---|
public void activate()
throws NamingException
Activatable
NamingException
public void deactivate()
throws NamingException
Activatable
NamingExceptionpublic Opbindings getMetaData()
public void setMetaData(Opbindings opBindings)
throws NamingException
MethodStyleOpProcessor
opBindings - New opBindings to be internalised, where only
script payloads are included.
NamingException
public void doUpdate(OpBindingType opBinding,
ObjectInfo objInfo,
Map<String,Object> parameterValues)
throws NamingException
MethodStyleOpProcessorOpBindingsHelper.ERROR_STATUS_ATTR
on success, otherwise sets it to description of error that occurred.
NamingException
public NamingEnumeration<SearchResult> doSearch(OpBindingType opBinding,
Name baseName,
FilterInfo filterInfo,
Map<String,String> environment,
SearchControls searchControls)
throws NamingException
MethodStyleOpProcessor
NamingException
public Attributes doLookup(OpBindingType opBinding,
ObjectInfo objInfo,
String[] attrIds)
throws NamingException
NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||