Create the Decorator .properties Files
For a standard pool decorator
The standard pool decorators executed by the system are defined
in a configuration file called
PresentationPoolManager.properties
. To register a
pool decorator called MyDecorator
, you must create
a file called
configuration-root/neo/xredsys/presentation/PresentationPoolManager.properties
in one of your configuration layers and add the following definition
to it:
decoratorFactory.myDecorator=/com/mycompany/MyDecorator
You must then create a properties file for the decorator (called
configuration-root/com/mycompany/MyDecorator.properties
in this case) and add an entry defining your class:
$class=neo.xredsys.presentation.ReflectionPresentationPoolDecoratorFactory className=com.mycompany.MyDecorator
For a request pool decorator
The request pool decorators executed by the system are defined
in a configuration file called
RequestPresentationPoolManager.properties
.To
register a pool decorator called MyDecorator
, you
must you must create a file called
configuration-root/neo/xredsys/presentation/RequestPresentationPoolManager.properties
in one of your configuration layers and add the following definition
to it:
decoratorFactory.myRequestDecorator=/com/mycompany/MyRequestDecorator
You must then create a properties file for the decorator (called
configuration-root/com/mycompany/MyRequestDecorator.properties
in this case) and add an entry defining your class:
$class=neo.xredsys.presentation.ReflectionPresentationPoolDecoratorFactory className=com.mycompany.MyRequestDecorator