user manual
270 BES Developer’s Guide
Creating the JAR file
// There is no requirement to log.
System.out.println(_className + ": shutdownPreUnload");
}
public void shutdownPostUnload() {
// Writing to System.out and System.err will
// cause the output to be logged.
// There is no requirement to log.
System.out.println(_className + ": shutdownPostUnload");
}
public void PartitionTerminating() {
// Writing to System.out and System.err will
// cause the output to be logged.
// There is no requirement to log.
System.out.println(_className + ": PartitionTerminating");
}
}
Creating the JAR file
Use Java's JAR utility to create a JAR file of the class and its descriptor file.
Deploying the Interceptor
Use the Deployment Wizard to deploy the interceptor to the Partition. Do not
check either the "Verify deployment descriptors" or the "Generate stubs"
checkboxes.
Important You must restart the Partition after deploying your interceptor.
You can also simply copy your JAR file into one of these two directories,
making sure you restart the Partition manually afterward:
■
<install_dir>/var/servers/<server_name>/Partitions/<Partition_name>/lib
■
<install_dir>/var/servers/<server_name>/Partitions/<Partition_name>/lib/
system










