com.sapportals.wcm.repository.so

Interface IObjectFactoryRegistry


public interface IObjectFactoryRegistry


Method Summary
 Object as(Class cl, IResource res)
           
 ListIterator factoryListIterator()
           
 IMutableObjectFactory getDefaultObjectFactory()
          Get the DefaultProvider attribute of the ITypeCastRegistry object.
 boolean isA(Class cl, IResource res)
          Get the A attribute of the ITypeCastRegistry object.
 void registerObjectFactory(IObjectFactory factory)
          Registration of a new provider.
 

Method Detail

registerObjectFactory

void registerObjectFactory(IObjectFactory factory)
Registration of a new provider. Everytime an application will ask to get the possible types of a resource object the RegistryCore will ask all provider to get a list of possible type casts.

Parameters:
factory - TBD: Description of the incoming method parameter

getDefaultObjectFactory

IMutableObjectFactory getDefaultObjectFactory()
Get the DefaultProvider attribute of the ITypeCastRegistry object.

Returns:
The DefaultProvider value

factoryListIterator

ListIterator factoryListIterator()
Returns:
TBD: Description of the outgoing return value

isA

boolean isA(Class cl,
            IResource res)
            throws com.sapportals.wcm.WcmException
Get the A attribute of the ITypeCastRegistry object.

Parameters:
cl -
res -
Returns:
The A value
Throws:
com.sapportals.wcm.WcmException - Exception raised in failure situation

as

Object as(Class cl,
          IResource res)
          throws com.sapportals.wcm.WcmException
Parameters:
cl -
res -
Returns:
Throws:
com.sapportals.wcm.WcmException - Exception raised in failure situation
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2012 SAP AG Complete Copyright Notice