Java Doc for ServiceContainer.java in » Portal » Open-Portal » com » sun » portal » common » service » Java Source Code / Java DocumentationJava Source Code and Java Documentation
A ServiceContainer is a singleton that manages a collection
of ServiceContexts.
The container implementation class can be specified as a system
property. If it's not specified the default container implementation
will be used, com.sun.portal.common.service.impl.ServiceContainerImpl
The default container implementation has a DEFAULT_CONTEXT only.
This context initializes all the services described in the service.xml
file that has to be available in the root of the classpath.
SERVICE_CONTAINER_CLASS String constant that defined the system propoperty that it
will be queried to obtain the name of the ServiceContainer
class to use.
This method must be called before any ServiceContext
can be retrieved from the container.
The init method must complete successfully in order
for the container to be operational.
throws: ServiceException - if an exception has occurredthat interferes with the container's normalinitialization