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)WcmException
public 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)WcmException
public List getMappings(Locale locale)
getMappings
in interface IFactoryInfoProvider
locale
- defines the language to use, if the factory offers translated information,
must not be null
IFactoryInfoProvider.MappingInformation
,
must not be null
public Properties getMapping()
public Status getStatus()
getStatus
in interface IFactoryInfoProvider
Status.ERROR
public String getFactoryName()
getFactoryName
in interface IFactoryInfoProvider
null
public long getLastReloadTime()
getLastReloadTime
in interface IFactoryInfoProvider
System.currentTimeMillis()
.
An implementing class might also return -1
to indicate, that
no information is available.public void classLoaderAdded(String id, ClassLoader newLoader)
IClassLoaderRegistryListener
classLoaderAdded
in interface IClassLoaderRegistryListener
id
- the ID of the application being registered with CRTnewLoader
- the class loader of the applicationpublic void classLoaderReplaced(String id, ClassLoader newLoader, ClassLoader oldLoader)
IClassLoaderRegistryListener
classLoaderReplaced
in interface IClassLoaderRegistryListener
id
- the ID of the application being registered with CRTnewLoader
- the new class loaderoldLoader
- the old class loaderAccess 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 2018 SAP AG Complete Copyright Notice