com.sapportals.wcm.crt.component

Interface IContext


public interface IContext

The context contains services, settings and information that is supplied by the CRT and/or a container to the component. A context implementation should be read-only.

Copyright (c) SAP AG 2001-2002


Method Summary
 Category getCategory()
          Returns a category for logging
 Class getComponentClass()
          Returns the class of the component that this context belongs to
 IContainerManager getContainerManager()
          Returns a reference to the component's container manager.
 int getDefaultPoolSize()
          Returns a default size for a component pool.
 String getKey()
          Returns the component's key as specified in the configuration.
 int getMaximumPoolSize()
          Returns the maximum size for a component pool.
 Object getParameters()
          Returns a parameters object.
 Class getProxyClass()
          Returns the class of the proxy
 

Method Detail

getKey

String getKey()
Returns the component's key as specified in the configuration.

Returns:
The key value

getContainerManager

IContainerManager getContainerManager()
Returns a reference to the component's container manager. Will always return null if the component does not implement IContainer,

Returns:
The containerManager value

getComponentClass

Class getComponentClass()
Returns the class of the component that this context belongs to

Returns:
componentClass

getProxyClass

Class getProxyClass()
Returns the class of the proxy

Returns:
proxyClass

getCategory

Category getCategory()
Returns a category for logging

Returns:
category

getDefaultPoolSize

int getDefaultPoolSize()
Returns a default size for a component pool.

Returns:
defaultPoolSize
See Also:
IPoolable

getMaximumPoolSize

int getMaximumPoolSize()
Returns the maximum size for a component pool.

Returns:
maximumPoolSize
See Also:
IPoolable

getParameters

Object getParameters()
Returns a parameters object.

Returns:
The parameters value
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