user manual

Chapter 25: Implementing Partition Interceptors 267
Chapter
25
Chapter 25Implementing Partition
Interceptors
Implementing Partition Interceptors requires the following steps:
1 Defining your interceptor using the module-borland.xml descriptor file.
2 Creating the interceptor class.
3 JARing the class and the descriptor file.
4 Deploy the JAR to the Partition of interest.
Important For documentation updates, go to www.borland.com/techpubs/bes.
Defining the Interceptor
You define the interceptor by creating a module-borland.xml file. This file uses
the following DTD:
<!ELEMENT module (Partition-interceptor?)>
<!ELEMENT Partition-interceptor (class-name, argument?, priority?)>
<!ELEMENT class-name (#PCDATA)>
<!ELEMENT argument (key, value)>
<!ELEMENT key (#PCDATA)>
<!ELEMENT value (#PCDATA)>
<!ELEMENT priority (#PCDATA)>
The <class-name> element must contain the full-path class name of the
implementation contained within the JAR.