| com.sun.portal.common.service.ServiceConfig
All known Subclasses: com.sun.portal.common.service.impl.ServiceConfigImpl,
ServiceConfig | public interface ServiceConfig (Code) | | A service configuration object used by a service container
used to pass information to a service during initialization.
author: Alejandro Abdelnur |
Method Summary | |
public String | getInitParameter(String name) Returns a String containing the value of the named initialization
parameter, or null if the parameter does not exist. | public Iterator | getInitParameterNames() Returns the names of the service's initialization parameters as
an Iterator of String objects, or an empty Iterator if the service
has no initialization parameters. | public ServiceContext | getServiceContext() Returns a reference to the ServiceContext in which the caller is
executing. | public String | getServiceName() Returns the name of this service instance. |
getInitParameter | public String getInitParameter(String name)(Code) | | Returns a String containing the value of the named initialization
parameter, or null if the parameter does not exist.
Parameters: name - a String specifying the name of the initializationparameter a String containing the value of the initializationparameter |
getInitParameterNames | public Iterator getInitParameterNames()(Code) | | Returns the names of the service's initialization parameters as
an Iterator of String objects, or an empty Iterator if the service
has no initialization parameters.
an Iterator of String objects containing the names of theservice's initialization parameters |
getServiceContext | public ServiceContext getServiceContext()(Code) | | Returns a reference to the ServiceContext in which the caller is
executing.
a ServiceContext object, used by the caller to interactwith its service container. See Also: ServiceContainer |
getServiceName | public String getServiceName()(Code) | | Returns the name of this service instance. The name is specified
in the deployment descriptor service's definition.
the name of the service |
|
|