org.directwebremoting.impl
Class AbstractContainer

java.lang.Object
  extended by org.directwebremoting.impl.AbstractContainer
All Implemented Interfaces:
Container
Direct Known Subclasses:
DefaultContainer

public abstract class AbstractContainer
extends java.lang.Object
implements Container

An implementation of some of the simpler methods from Container This class has nothing whatsoever to do with ContainerAbstraction.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
AbstractContainer()
           
 
Method Summary
<T> T
getBean(java.lang.Class<T> type)
          Get the contained instance of a bean of a given type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.directwebremoting.Container
contextDestroyed, getBean, getBeanNames, initializeBean, newInstance, servletDestroyed
 

Constructor Detail

AbstractContainer

public AbstractContainer()
Method Detail

getBean

public <T> T getBean(java.lang.Class<T> type)
Description copied from interface: Container
Get the contained instance of a bean of a given type

Specified by:
getBean in interface Container
Parameters:
type - The type to get an instance of
Returns:
The object of the given type, or null if the object does not exist

Copyright 2008