com.unboundid.scim.data
Interface ResourceFactory<R extends BaseResource>


public interface ResourceFactory<R extends BaseResource>

Factory interface for creating SCIM resource instances for a given resource descriptor.


Method Summary
 R createResource(ResourceDescriptor resourceDescriptor, SCIMObject scimObject)
          Creates a new SCIM resource instance from a SCIMObjectfor the specified resource descriptor.
 

Method Detail

createResource

R createResource(ResourceDescriptor resourceDescriptor,
                 SCIMObject scimObject)
Creates a new SCIM resource instance from a SCIMObjectfor the specified resource descriptor.

Parameters:
resourceDescriptor - The resource descriptor for the SCIM resource instance.
scimObject - The SCIMObject containing all the SCIM attributes and their values.
Returns:
A new SCIM resource instance.


Copyright © 2011-2012 UnboundID. All Rights Reserved.