com.sapportals.wcm.crt.component

Interface IContainerManager

All Superinterfaces:
IComponentManager

public interface IContainerManager
extends IComponentManager

A container manager is used by container components for managing their children. This interface inherits from IComponentManager. The additional methods defined in this interface are used by the container to create and remove its children.

Copyright (c) SAP AG 2001-2002

See Also:
IContainer

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sapportals.wcm.crt.component.IComponentManager
IComponentManager.IComponentInformation
 
Method Summary
 void addChild(String key, String className, String proxyName, IConfiguration config, Object parameters)
          Adds a child component with the specified key, java class name and configuration data.
 void addChild(String key, String className, String proxyName, IConfiguration config, Object parameters, int defaultPoolSize, int maximumPoolSize)
          Adds a pooled child component with the specified key, java class name and configuration data.
 void removeChild(String key)
          Removes a child component with the specified key.
 
Methods inherited from interface com.sapportals.wcm.crt.component.IComponentManager
hasComponent, listComponentKeys, lookupComponent, lookupComponentInformation, releaseComponent
 

Method Detail

addChild

void addChild(String key,
              String className,
              String proxyName,
              IConfiguration config,
              Object parameters)
              throws ConfigurationException,
                     ComponentException
Adds a child component with the specified key, java class name and configuration data.

Parameters:
key - The new component's key.
className - The name of the new component's java class.
proxyName - The name of a component's proxy class.
config - Configuration data.
parameters - Some arbitrary parameters that will be put into the component context. The parameters should be read-only.
Throws:
ConfigurationException - Exception raised in failure situation
ComponentException - Exception raised in failure situation

addChild

void addChild(String key,
              String className,
              String proxyName,
              IConfiguration config,
              Object parameters,
              int defaultPoolSize,
              int maximumPoolSize)
              throws ConfigurationException,
                     ComponentException
Adds a pooled child component with the specified key, java class name and configuration data.

Parameters:
key - The new component's key.
className - The name of the new component's java class.
proxyName - The name of a component's proxy class.
config - Configuration data.
parameters - Some arbitrary parameters that will pe put into the component context. The parameters should be read-only.
defaultPoolSize -
maximumPoolSize -
Throws:
ConfigurationException - Exception raised in failure situation
ComponentException - Exception raised in failure situation

removeChild

void removeChild(String key)
Removes a child component with the specified key. If a component with the specified key does not exist nothing happens.

Parameters:
key - The key of the component to remove.
Access Rights

This class can be accessed from:


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


Copyright 2014 SAP AG Complete Copyright Notice