You can specify a default (IBM® WebSphere® Portlet Factory-wide) replacement handler for the profile selection handler.
This can be done to set a default profile selection handler when the profile set does not have one explicitly set. The interface used to provide this functionality is the same one used by the profile set selection class, which is the ProfileSelection interface described above.
In order to specify and enable a default WebSphere Portlet Factory-wide handler, you must create a class that implements the ProfileSelection interface along with a handler definition file. Once this is done, you can set a property in the cluster.properties file to specify your handler's name. This is the name of the handler specified in the definition file (for example, <Handler name="File Segment Handler">
For example, the cluster.properties file entry might looks as follows:
# This property specifies the handler to use for a factory wide default profile selection for WebApp Models.
bowstreet.profiles.default.selection.handler=File Segment Handler
Parent topic: Profile selection and storage mechanisms: wpf7