org.jboss.portal.web.impl
Class DefaultServletContainerFactory

java.lang.Object
  extended by org.jboss.portal.web.impl.DefaultServletContainerFactory
All Implemented Interfaces:
ServletContainerFactory

public class DefaultServletContainerFactory
extends java.lang.Object
implements ServletContainerFactory

Version:
$Revision: 1.1 $
Author:
Julien Viet

Field Summary
static DefaultServletContainerFactory instance
          .
 
Constructor Summary
DefaultServletContainerFactory()
           
 
Method Summary
static ServletContainerFactory getInstance()
           
 ServletContainer getServletContainer()
          Returns the singleton instance.
static void registerContext(ServletContainerContext context)
          Register the context argument on the singleton instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final DefaultServletContainerFactory instance
.

Constructor Detail

DefaultServletContainerFactory

public DefaultServletContainerFactory()
Method Detail

getInstance

public static ServletContainerFactory getInstance()

getServletContainer

public ServletContainer getServletContainer()
Returns the singleton instance.

Specified by:
getServletContainer in interface ServletContainerFactory
Returns:
the singleton instance

registerContext

public static void registerContext(ServletContainerContext context)
                            throws java.lang.IllegalArgumentException
Register the context argument on the singleton instance.

Throws:
java.lang.IllegalArgumentException