|
|
There are three administrative tasks associated with managing the registration of interceptors:
This section explains these three tasks.
You use the epifregplugin
command to register your interceptors with an ORB. When you register an interceptor, the interceptor is added to the end of the list of interceptors already registered with the ORB. This is important when you have multiple interceptors registered with an ORB.
The syntax of the epifregplugin
command for registering interceptors is the following:
epifregplugin -t bea/wle -i AppRequestInterceptor \ In the preceding command line:
Registering an Interceptor
-p <InterceptorName> -f <FileName> -e <EntryPoint> \
-u "DisplayName=<Administrative Name>" -v 1.0
Use the epifunregplugin
command to unregister an interceptor from an ORB. This command has the following syntax:
epifunregplugin -t bea/wle -p <InterceptorName> The argument <InterceptorName>
is the same case-insensitive name specified in the epifregplugin
command. Unregistering an interceptor takes it out of the interceptor order.
You can see the order in which interceptors are registered, and thus called, by using the following command:
epifregedit -t bea/wle -g -k SYSTEM/interfaces/AppRequestInterceptor The epifregedit
displays the order in which interceptors are executed when the ORB receives a request.
You can change the order in which the interceptors are executed using the following command:
epifregedit -t bea/wle -s -k SYSTEM/interfaces/AppRequestInterceptor \ Each <InterceptorName>
is the case-insensitive name of the interceptor that must have been previously registered. This command replaces the order currently in the registry. The epifregedit
command must specify every interceptor that you want to have loaded and executed by the ORB. If an interceptor is still registered and if you do not specify its name using epifregedit
command, the interceptor is not loaded.
Unregistering an Interceptor
Changing the Order in which Interceptors are Called
-a Selector=Order -a Order=<InterceptorName1>,<InterceptorName2>,...
|
Copyright © 1999 BEA Systems, Inc. All rights reserved.
|