org.eclipse.jetty.plus.webapp
Class AbstractConfiguration

java.lang.Object
  extended by org.eclipse.jetty.plus.webapp.AbstractConfiguration
All Implemented Interfaces:
Configuration
Direct Known Subclasses:
Configuration

public abstract class AbstractConfiguration
extends Object
implements Configuration

Configuration


Nested Class Summary
 class AbstractConfiguration.PlusWebXmlProcessor
           
 
Constructor Summary
AbstractConfiguration()
           
 
Method Summary
abstract  void bindEnvEntry(WebAppContext context, String name, Object value)
           
abstract  void bindMessageDestinationRef(WebAppContext context, String name, Class type)
           
abstract  void bindResourceEnvRef(WebAppContext context, String name, Class type)
           
abstract  void bindResourceRef(WebAppContext context, String name, Class type)
           
abstract  void bindUserTransaction(WebAppContext context)
           
protected  void callPreDestroyCallbacks(WebAppContext context)
           
 void configure(WebAppContext context)
          Configure WebApp.
 void deconfigure(WebAppContext context)
          DeConfigure WebApp.
protected  void injectAndCallPostConstructCallbacks(WebAppContext context)
           
 void postConfigure(WebAppContext context)
          Clear down after configuration.
 void preConfigure(WebAppContext context)
          Set up for configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfiguration

public AbstractConfiguration()
Method Detail

bindEnvEntry

public abstract void bindEnvEntry(WebAppContext context,
                                  String name,
                                  Object value)
                           throws Exception
Throws:
Exception

bindResourceRef

public abstract void bindResourceRef(WebAppContext context,
                                     String name,
                                     Class type)
                              throws Exception
Throws:
Exception

bindResourceEnvRef

public abstract void bindResourceEnvRef(WebAppContext context,
                                        String name,
                                        Class type)
                                 throws Exception
Throws:
Exception

bindUserTransaction

public abstract void bindUserTransaction(WebAppContext context)
                                  throws Exception
Throws:
Exception

bindMessageDestinationRef

public abstract void bindMessageDestinationRef(WebAppContext context,
                                               String name,
                                               Class type)
                                        throws Exception
Throws:
Exception

preConfigure

public void preConfigure(WebAppContext context)
                  throws Exception
Description copied from interface: Configuration
Set up for configuration.

Specified by:
preConfigure in interface Configuration
Throws:
Exception

postConfigure

public void postConfigure(WebAppContext context)
                   throws Exception
Description copied from interface: Configuration
Clear down after configuration.

Specified by:
postConfigure in interface Configuration
Throws:
Exception

configure

public void configure(WebAppContext context)
               throws Exception
Description copied from interface: Configuration
Configure WebApp.

Specified by:
configure in interface Configuration
Throws:
Exception

deconfigure

public void deconfigure(WebAppContext context)
                 throws Exception
Description copied from interface: Configuration
DeConfigure WebApp. This method is called to undo all configuration done. This is called to allow the context to work correctly over a stop/start cycle

Specified by:
deconfigure in interface Configuration
Throws:
Exception

injectAndCallPostConstructCallbacks

protected void injectAndCallPostConstructCallbacks(WebAppContext context)
                                            throws Exception
Throws:
Exception

callPreDestroyCallbacks

protected void callPreDestroyCallbacks(WebAppContext context)
                                throws Exception
Throws:
Exception


Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.