|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.tiles.definition.ReloadableDefinitionsFactory
A reloadable factory. This factory is the main entrance to any factory implementation. It takes in charge real implementation instance, and allows reloading by creating a new instance.
| 入れ子クラスの概要 | |
(パッケージプライベート) class |
ReloadableDefinitionsFactory.ServletPropertiesMap
Inner class. |
| フィールドの概要 | |
static java.lang.String |
DEFINITIONS_FACTORY_CLASSNAME
Name of init property carrying factory class name. |
protected ComponentDefinitionsFactory |
factory
The real factory instance. |
protected java.util.Map |
properties
Initialization parameters. |
| コンストラクタの概要 | |
ReloadableDefinitionsFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
Constructor. |
|
ReloadableDefinitionsFactory(javax.servlet.ServletContext servletContext,
javax.servlet.ServletConfig servletConfig)
Constructor. |
|
| メソッドの概要 | |
ComponentDefinitionsFactory |
createDefaultFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
Create default Definition factory. |
ComponentDefinitionsFactory |
createFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
Create Definition factory. |
ComponentDefinitionsFactory |
createFactoryFromClassname(javax.servlet.ServletContext servletContext,
java.util.Map properties,
java.lang.String classname)
Create Definition factory from provided classname. |
ComponentDefinition |
getDefinition(java.lang.String definitionName,
javax.servlet.ServletRequest request,
javax.servlet.ServletContext servletContext)
Get a definition by its name. |
ComponentDefinitionsFactory |
getFactory()
Get underlying factory instance. |
void |
initFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
Init factory. |
void |
reload(javax.servlet.ServletContext servletContext)
Reload underlying factory. |
java.lang.String |
toString()
Return String representation. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
protected ComponentDefinitionsFactory factory
protected java.util.Map properties
public static final java.lang.String DEFINITIONS_FACTORY_CLASSNAME
| コンストラクタの詳細 |
public ReloadableDefinitionsFactory(javax.servlet.ServletContext servletContext,
javax.servlet.ServletConfig servletConfig)
throws DefinitionsFactoryException
servletContext - Our servlet context.servletConfig - Our servlet config.
DefinitionsFactoryException - If factory creation fail.
public ReloadableDefinitionsFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
throws DefinitionsFactoryException
servletContext - Our servlet context.properties - Map containing all properties.
DefinitionsFactoryException - If factory creation fail.| メソッドの詳細 |
public ComponentDefinitionsFactory createFactoryFromClassname(javax.servlet.ServletContext servletContext,
java.util.Map properties,
java.lang.String classname)
throws DefinitionsFactoryException
classname - Class name of the factory to create.servletContext - Servlet Context passed to newly created factory.properties - Map of name/property passed to newly created factory.
DefinitionsFactoryException - If an error occur while initializing factory
public ComponentDefinitionsFactory createDefaultFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
throws DefinitionsFactoryException
servletContext - Servlet Context passed to newly created factory.properties - Map of name/property passed to newly created factory.
DefinitionsFactoryException - If an error occur while initializing factory
public ComponentDefinitionsFactory createFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
throws DefinitionsFactoryException
servletContext - Servlet Context passed to newly created factory.properties - Map containing all properties.
DefinitionsFactoryException
public ComponentDefinition getDefinition(java.lang.String definitionName,
javax.servlet.ServletRequest request,
javax.servlet.ServletContext servletContext)
throws FactoryNotFoundException,
DefinitionsFactoryException
ComponentDefinitionsFactory 内の getDefinitiondefinitionName - Name of requested definition.request - Current servlet request.servletContext - Current servlet context.
FactoryNotFoundException - Can't find definition factory.
DefinitionsFactoryException - General error in factory while getting definition.
public void reload(javax.servlet.ServletContext servletContext)
throws DefinitionsFactoryException
servletContext - Current servlet context.
DefinitionsFactoryException - If factory creation fails.public ComponentDefinitionsFactory getFactory()
public void initFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
throws DefinitionsFactoryException
ComponentDefinitionsFactory 内の initFactoryservletContext - Servlet Context passed to newly created factory.properties - Map of name/property passed to newly created factory.
Map can contain more properties than requested.
DefinitionsFactoryException - An error occur during initialization.public java.lang.String toString()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||