SAP NetWeaver '04

com.sapportals.wcm.crt.component
Interface IContext

[contained in: com.sap.netweaver.bc.crt.par - bc.crt_api.jar]
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
 com.sap.tc.logging.Category getCategory()
          Returns a category for logging
 java.lang.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.
 java.lang.String getKey()
          Returns the component's key as specified in the configuration.
 int getMaximumPoolSize()
          Returns the maximum size for a component pool.
 java.lang.Object getParameters()
          Returns a parameters object.
 java.lang.Class getProxyClass()
          Returns the class of the proxy
 

Method Detail

getKey

public java.lang.String getKey()
Returns the component's key as specified in the configuration.
Returns:
The key value

getContainerManager

public 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

public java.lang.Class getComponentClass()
Returns the class of the component that this context belongs to
Returns:
componentClass

getProxyClass

public java.lang.Class getProxyClass()
Returns the class of the proxy
Returns:
proxyClass

getCategory

public com.sap.tc.logging.Category getCategory()
Returns a category for logging
Returns:
category

getDefaultPoolSize

public int getDefaultPoolSize()
Returns a default size for a component pool.
Returns:
defaultPoolSize
See Also:
IPoolable

getMaximumPoolSize

public int getMaximumPoolSize()
Returns the maximum size for a component pool.
Returns:
maximumPoolSize
See Also:
IPoolable

getParameters

public java.lang.Object getParameters()
Returns a parameters object.
Returns:
The parameters value

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.