Interface DefinitionsFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
ComponentDefinitionsFactoryWrapper

public interface DefinitionsFactory extends Serializable
Tiles Definition factory. This interface replace old ComponentDefinitionsFactory. Main method getDefinition() is exactly the same. Initialization method change. This interface allows to retrieve a definition by its name, independently of the factory implementation. Object life cycle is as follow:
  • Constructor: create object
  • setConfig: set config and initialize factory. After first call to this method, factory is operational.
  • destroy: factory is being shutdown.
Implementation must be Serializable, in order to be compliant with web Container having this constraint (Weblogic 6.x).