Connector Opbinding Support

Any connector allows you to define opbindings for all top-level operations implemented by its AttrbuteStyleProcessor. Defining opbindings allows you to customize connector behavior through JavaScript payloads, or if your connector supports a method-style processor, such as JDBC stored procedures.
cim1265
Any connector allows you to define opbindings for all top-level operations implemented by its AttrbuteStyleProcessor. Defining opbindings allows you to customize connector behavior through JavaScript payloads, or if your connector supports a method-style processor, such as JDBC stored procedures.
However, to call opbindings in all circumstances, it is important that any calls your attribute-style processor makes to its own methods are invoked through the following:
  • proxiedSelf.method(...)
    For methods defined on the com.ca.jcs.processor.AttributeStyleOpProcessor interface. This attribute is defined in the com.ca.jcs.processor.AbstractAttributeStyleOpProcessor abstract base class.
  • proxiedAssocSelf.method(…). For methods defined on:
    • com.ca.jcs.processor.AssocAttributeOpProcessor interface.
      In this case, this attribute is defined in the AbstractAttributeStyleOpProcessorAssocDirect base class.
    • com.ca.jcs.processor.AssocIndirectAttributeOpProcessor interface.
      In this case, this attribute is defined in the com.ca.jcs.processor.AbstractAttributeStyleOpProcessorAssocIndirect base class.
For example, a call directly to doAdd(…) in your attribute-style processor, (such a call can occur in the implementation of the doModifyRn() method) bypasses any registered opbindings, whereas a call to proxiedSelf.doAdd() with the same arguments executes any registered opbindings.
In addition to writing code that defines all possible opbindings, be aware of relevant configuration such as
allowMetadataModify
settings.
Note:
For more information, see Connector.xml Files.