Home » tiles-2.2.1-src » org.apache » tiles » factory » [javadoc | source]
org.apache.tiles.factory
public class: TilesContainerFactory [javadoc | source]
java.lang.Object
   org.apache.tiles.factory.AbstractTilesContainerFactory
      org.apache.tiles.factory.TilesContainerFactory

Direct Known Subclasses:
    KeyedDefinitionsFactoryTilesContainerFactory

Deprecated! Please - extend AbstractTilesContainerFactory or use an already extended class. Parameter-based initialization is no longer supported.

Factory provided for convenience. This factory creates a default implementation of the container, initializes, and puts it into service. Uses initialization parameters to configure all the objects created in this phase.
Field Summary
public static final  String CONTAINER_FACTORY_INIT_PARAM    Initialization parameter that represents the container factory class name.
     
    public static final  String CONTAINER_FACTORY_MUTABLE_INIT_PARAM    Initialization parameter that indicates if the container factory is mutable. 
    public static final  String CONTEXT_FACTORY_INIT_PARAM    Initialization parameter that represents the context factory class name.
       
      public static final  String REQUEST_CONTEXT_FACTORY_INIT_PARAM    Initialization parameter that represents the context factory class name.
        since: 2.1.1 -
       
      public static final  String DEFINITIONS_FACTORY_INIT_PARAM    Initialization parameter that represents the definitions factory class name. 
      public static final  String PREPARER_FACTORY_INIT_PARAM    Initialization parameter that represents the preparer factory class name. 
      public static final  String RENDERER_FACTORY_INIT_PARAM    Initialization parameter that represents the renderer factory class name.
        since: 2.1.0 -
       
      public static final  String ATTRIBUTE_EVALUATOR_INIT_PARAM    Initialization parameter that represents the attribute evaluator class name.
        since: 2.1.0 -
       
      protected  Map<String, String> defaultConfiguration    The default configuration to be used by the factory. 
      Fields inherited from org.apache.tiles.factory.AbstractTilesContainerFactory:
      CONTAINER_FACTORY_INIT_PARAM
      Method from org.apache.tiles.factory.TilesContainerFactory Summary:
      createContainer,   createContainer,   createFactory,   createMutableTilesContainer,   createMutableTilesContainer,   createTilesContainer,   createTilesContainer,   getFactory,   getFactory,   getInitParameter,   getInitParameterMap,   initializeContainer,   initializeContainer,   postCreationOperations,   resolveFactoryName,   setDefaultConfiguration,   setDefaultValue,   storeContainerDependencies,   storeContainerDependencies
      Methods from org.apache.tiles.factory.AbstractTilesContainerFactory:
      createContainer,   getTilesContainerFactory
      Methods from java.lang.Object:
      clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
      Method from org.apache.tiles.factory.TilesContainerFactory Detail:
       public TilesContainer createContainer(Object context) 
      Deprecated! Use - #createContainer(TilesApplicationContext) .

            Deprecated!
        Creates a Tiles container.
       public TilesContainer createContainer(TilesApplicationContext context) 
            Deprecated!
        {@inheritDoc}
       protected static Object createFactory(Map<String, String> configuration,
          String initParameterName) 
            Deprecated!
        Creates a factory instance.
       public TilesContainer createMutableTilesContainer(Object context) 
      Deprecated! Use - #createMutableTilesContainer(TilesApplicationContext) .

            Deprecated!
        Creates an immutable Tiles container.
       public MutableTilesContainer createMutableTilesContainer(TilesApplicationContext context) 
            Deprecated!
        Creates a mutable Tiles container.
       public TilesContainer createTilesContainer(Object context) 
      Deprecated! Use - #createTilesContainer(TilesApplicationContext) .

            Deprecated!
        Creates an immutable Tiles container.
       public TilesContainer createTilesContainer(TilesApplicationContext context) 
            Deprecated!
        Creates an immutable Tiles container.
       public static TilesContainerFactory getFactory(Object context) 
      Deprecated! Use - AbstractTilesContainerFactory#getTilesContainerFactory(TilesApplicationContext) .

            Deprecated!
        Retrieve a factory instance as configured through the specified context.

        The context will be queried and if a init parameter named 'org.apache.tiles.factory.TilesContainerFactory' is discovered this class will be instantiated and returned. Otherwise, the factory will attempt to utilize one of it's internal factories.

       public static TilesContainerFactory getFactory(Object context,
          Map<String, String> defaults) 
      Deprecated! Use - AbstractTilesContainerFactory#getTilesContainerFactory(TilesApplicationContext) and then #setDefaultConfiguration(Map) .

            Deprecated!
        Retrieve a factory instance as configured through the specified context.

        The context will be queried and if a init parameter named 'org.apache.tiles.factory.TilesContainerFactory' is discovered this class will be instantiated and returned. Otherwise, the factory will attempt to utilize one of it's internal factories.

       protected static String getInitParameter(Object context,
          String parameterName) 
      Deprecated! Do - not use.

            Deprecated!
        Returns the value of an initialization parameter.
       protected static Map<String, String> getInitParameterMap(Object context) 
      Deprecated! Do - not use.

            Deprecated!
        Returns a map containing parameters name-value entries.
       protected  void initializeContainer(Object context,
          BasicTilesContainer container) 
      Deprecated! Use - #initializeContainer(TilesApplicationContext, BasicTilesContainer) .

            Deprecated!
        Initializes a container.
       protected  void initializeContainer(TilesApplicationContext context,
          BasicTilesContainer container) 
            Deprecated!
        Initializes a container.
       protected  void postCreationOperations(TilesRequestContextFactory contextFactory,
          TilesApplicationContext tilesContext,
          RendererFactory rendererFactory,
          AttributeEvaluator evaluator,
          Map<String, String> initParameters,
          Map<String, String> configuration,
          BasicTilesContainer container) 
            Deprecated!
        After the creation of the elements, it is possible to do other operations that will be done after the creation and before the assignment to the container.
       protected static String resolveFactoryName(Map<String, String> configuration,
          String parameterName) 
            Deprecated!
        Resolves a factory class name.
       public  void setDefaultConfiguration(Map<String, String> defaultConfiguration) 
            Deprecated!
        Sets the default configuration parameters.
       public  void setDefaultValue(String key,
          String value) 
            Deprecated!
        Sets one default configuration parameter value.
       protected  void storeContainerDependencies(Object context,
          Map<String, String> initParameters,
          Map<String, String> configuration,
          BasicTilesContainer container) 
      Deprecated! Use - #storeContainerDependencies(TilesApplicationContext, Map, Map, BasicTilesContainer) .

            Deprecated!
       protected  void storeContainerDependencies(TilesApplicationContext context,
          Map<String, String> initParameters,
          Map<String, String> configuration,
          BasicTilesContainer container) 
            Deprecated!