|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeStyleOpProcessor
This style of op processor is the most commonly used one, and relies on metadata to define the datamodel and mappings for all objects to be handled for the parent connector. All connectors must have this style of processor, even if it is a stub which does nothing other then provide trigger points for method/sscript style op processors.
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).
Refer to the cacom module's datamodel.xsd, and the example
document used to drive the SDK sample: sdk_metadata.xml.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.ca.jcs.processor.OpProcessor |
|---|
OpProcessor.MethodName |
| 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. |
Attribute |
doLookupExpensiveStub(ObjectInfo objInfo,
String attrId)
Special single attribute version of OpProcessor.doLookUp(com.ca.jcs.ObjectInfo, String[]) that
can increase the efficiency of validator checks against expensive
attributes by just return stubs for them (ie only the number of values
is returned rather then content). |
DataModel |
getMetaData()
|
void |
setMetaData(DataModel dataModel)
Called when datamodel metadata used to configure this connector is changed. |
| Methods inherited from interface com.ca.jcs.processor.OpProcessor |
|---|
doAdd, doDelete, doLookUp, doModify, doModifyRn, doMove, doSearch |
| Method Detail |
|---|
@OpBindingMethod(operation=ACTIVATE)
void activate()
throws NamingException
Activatable
activate in interface ActivatableNamingException
@OpBindingMethod(operation=DEACTIVATE)
void deactivate()
throws NamingException
Activatable
deactivate in interface ActivatableNamingExceptionDataModel getMetaData()
void setMetaData(DataModel dataModel)
dataModel - New metadata to be internalised.
Attribute doLookupExpensiveStub(ObjectInfo objInfo,
String attrId)
throws NamingException
OpProcessor.doLookUp(com.ca.jcs.ObjectInfo, String[]) that
can increase the efficiency of validator checks against expensive
attributes by just return stubs for them (ie only the number of values
is returned rather then content). For instance this would help
enormously in the case where we are checking a photo field
(potentially megabytes) is single-valued.
NamingExceptionValidationLazyAttributesProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||