Back to index
Back to module hivemind

Schema hivemind.MethodFilter

Used primarily as parameters to interceptor factories (such as LoggingInterceptor) to define which methods of service interface are to be included and which excluded.
Element exclude
Identifies a method, or set of methods, to be excluded.
Attribute method Required
A method pattern used to identify the affected methods.

Conversion Rules

  • <create-object class="org.apache.hivemind.service.MethodContribution" />
  • <set-property property="include" value="false" />
  • <read-attribute attribute="method" property="methodPattern" />
  • <invoke-parent method="addElement" />
Element include
Identifies a method, or set of methods, to be included.
Attribute method Required
A method pattern used to identify the affected methods.

Conversion Rules

  • <create-object class="org.apache.hivemind.service.MethodContribution" />
  • <set-property property="include" value="true" />
  • <read-attribute attribute="method" property="methodPattern" />
  • <invoke-parent method="addElement" />

Back to index
Back to module hivemind