public final class LayoutControllerFactory extends Object implements IFactoryInfoProvider, IClassLoaderRegistryListener
IFactoryInfoProvider.MappingInformation| Modifier and Type | Method and Description |
|---|---|
void |
classLoaderAdded(String id,
ClassLoader newLoader)
Deprecated.
As of NetWeaver 7.1
|
void |
classLoaderReplaced(String id,
ClassLoader newLoader,
ClassLoader oldLoader)
Deprecated.
As of NetWeaver 7.1
|
String |
getFactoryName()
Deprecated.
As of NetWeaver 7.1
|
static LayoutControllerFactory |
getInstance()
Deprecated.
As of NetWeaver 7.1
|
long |
getLastReloadTime()
Deprecated.
As of NetWeaver 7.1
|
ILayoutController |
getLayoutController(IProxy proxy,
IResource resource)
Deprecated.
As of NetWeaver 7.1
|
ILayoutController |
getLayoutController(IProxy proxy,
ITypedResourceList resourcelist)
Deprecated.
As of NetWeaver 7.1
|
Properties |
getMapping()
Deprecated.
As of NetWeaver 7.1
|
List |
getMappings(Locale locale)
Deprecated.
As of NetWeaver 7.1
|
Status |
getStatus()
Deprecated.
As of NetWeaver 7.1
|
public static LayoutControllerFactory getInstance()
public ILayoutController getLayoutController(IProxy proxy, IResource resource) throws WcmException
ILayoutController
If no configuration for the set of parameters can be retrieved or the
mapping entry is faulty, the default LayoutController of the factory is
returned. The method uses the CustomizingControllerFactory
to retrieve the mapped name for the given set of parameters.proxy - the IProxy that called this method. It is set as
parameter for the retrieved instance. The proxy's hashtable, that holds
the iView/ URL-Parameter is used by the CustomizingControllerFactory
to retrieve the matching mapping name.resource - the resource that acts as the "root"-resource in the given
IProxynull. The instance
is ready-to-use (no set-methods have to be called afterwards)WcmExceptionpublic ILayoutController getLayoutController(IProxy proxy, ITypedResourceList resourcelist) throws WcmException
ILayoutController
If no configuration for the set of parameters can be retrieved or the
mapping entry is faulty, the default LayoutController of the factory is
returned. The method uses the CustomizingControllerFactory
to retrieve the mapped name for the given set of parameters.proxy - the IProxy that called this method. It is set as
parameter for the retrieved instance. The proxy's hashtable, that holds
the iView/ URL-Parameter is used by the CustomizingControllerFactory
to retrieve the matching mapping name.resourcelist - the list of resources displayed in the IProxy.null. The instance
is ready-to-use (no set-methods have to be called afterwards)WcmExceptionpublic List getMappings(Locale locale)
getMappings in interface IFactoryInfoProviderlocale - defines the language to use, if the factory offers translated information,
must not be nullIFactoryInfoProvider.MappingInformation,
must not be nullpublic Properties getMapping()
public Status getStatus()
getStatus in interface IFactoryInfoProviderStatus.ERRORpublic String getFactoryName()
getFactoryName in interface IFactoryInfoProvidernullpublic long getLastReloadTime()
getLastReloadTime in interface IFactoryInfoProviderSystem.currentTimeMillis().
An implementing class might also return -1 to indicate, that
no information is available.public void classLoaderAdded(String id, ClassLoader newLoader)
IClassLoaderRegistryListenerclassLoaderAdded in interface IClassLoaderRegistryListenerid - the ID of the application being registered with CRTnewLoader - the class loader of the applicationpublic void classLoaderReplaced(String id, ClassLoader newLoader, ClassLoader oldLoader)
IClassLoaderRegistryListenerclassLoaderReplaced in interface IClassLoaderRegistryListenerid - the ID of the application being registered with CRTnewLoader - the new class loaderoldLoader - the old class loader| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice