|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MethodStyleOpProcessor
Implemented by connector processor components whose implementation is
largely independent of the actual JNDI operation being performed, such as
handling method-style and script-style op bindings. Note that activate()
is called when processors for all styles have been assigned to the parent connector
(which has been fully initialised and is ready to receive requests).
One use is as an optional extension to the
OpProcessor interface that
allows for bindings to JNDI operations which can be executed before,
after or instead of the target operation (eg JDBCMetaConnector provides for binding stored procedures
to operations). Methods in this interface are only invoked after the
JCS framework has determined the runtime context matches the guard
condition declared as part of the operation binding.
Refer to the cacom module's opbindings.xsd.
| Method Summary | |
|---|---|
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 interface com.ca.jcs.Activatable |
|---|
activate, deactivate |
| Method Detail |
|---|
Opbindings getMetaData()
void setMetaData(Opbindings opbindings)
throws NamingException
opbindings - New opBindings to be internalised, where only
script payloads are included.
NamingException
void doUpdate(OpBindingType opBinding,
ObjectInfo objInfo,
Map<String,Object> parameterValues)
throws NamingException
OpBindingsHelper.ERROR_STATUS_ATTR
on success, otherwise sets it to description of error that occurred.
NamingException
NamingEnumeration<SearchResult> doSearch(OpBindingType opBinding,
Name baseName,
FilterInfo filterInfo,
Map<String,String> environment,
SearchControls searchControls)
throws NamingException
NamingException
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 | |||||||||