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

public 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 Class getComponentClass()
Returns the class of the component that this context belongs to

Returns:
componentClass

getProxyClass

public Class getProxyClass()
Returns the class of the proxy

Returns:
proxyClass

getCategory

public 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 Object getParameters()
Returns a parameters object.

Returns:
The parameters value


Copyright 2006 SAP AG Complete Copyright Notice