Portlet Factory, Version 6.1.2


 

Profiles

Profiles define the values to supply to profiled builder call inputs based on the segment (J2EE Role, or LDAP Group, for example) to which the user belongs. When you create a profile, you can make one or more associations with a profile. You can change how the WebSphere Portlet Factory servlet associates a profile with a request by using one of the alternate profile selection handlers (either an LDAP group-based or file-based determination). You can also create your own profile selection handler to implement some other way of associating a request with a profile.

You create profiles either in the Manage Profiles tab of the profile manager or when you profile a builder call input. Once you create a profile, you can specify values for the entries contained in the profile set to which the profile belongs.

  • About profile creation

    You can create a profile in the Manage Profile editor or from the profile input dialog.

  • About profiling your builder inputs

    You can associate the value for a builder input with a profile set entry by profiling the builder input.

  • Associating model requests with profiles

    The IBM® WebSphere Portlet Factory servlet applies a profile to a model for each profile set associated with the model by performing these steps:

  • Profile entries

    You can create as many profile entries as you need and save them as a profile set.

  • Previewing the effects of profile-enablement

    After you have created your profile sets, customized the profile entries, and profiled one or more builder call inputs, you can test the effects of profiling on the generated web application by using the Applied Profiles view.

  • About generated file names

    On some application servers, there is a length limit on path names (including the file name) of 255 characters.

  • Profile child retrieval

    Using the ProfileSetStorageManager getChildProfiles(..) method you can now get the immediate children of a specified profile.

  • Accessing profiles from linked Java object methods

    To determine the current profile being used by the model or access the profile values for the current profile in an LJO method, you can access the current profile through the com.bowstreet.generation.ProfileData interface.

  • Profile retrieval

    A new interface is available that supports the retrieval of a potentially larger number of profiles. This interface is the description of the profile and not all of its data. The different storage handlers implement this class.

  • Using execution time profile data

    IBM WebSphere Portlet Factory can gain access to profile data at execution time rather than at WebApp generation time.

  • Container node flag

    A container node flag supports the ability to query a profile set for its hierarchy without having to filter out thousands of leaf nodes.

Parent topic: Overview: profiling


Library | Support |