com.ibm.websphere.personalization.resources
Interface PreviewObjectCreator


public interface PreviewObjectCreator

This interface should be implemented by Resource Managers to enable preview when the resource class is an interface.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 Resource createProfileObject(java.lang.String id, RequestContext context)
          Create an instance of a Resource given a user id and a bean name.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

createProfileObject

Resource createProfileObject(java.lang.String id,
                             RequestContext context)
Create an instance of a Resource given a user id and a bean name. Resource managers should implement this method to enable preview when the resource class is an interface.

Parameters:
id -
context - TODO
Returns:
Null if the user cannot be created or instantiated.