Method | Description | |
---|---|---|
GetContext ( string virtualPath ) : IApplicationContext |
Returns the web application context for the given (absolute!) virtual path
|
|
GetRootContext ( ) : IApplicationContext |
Returns the root context of this web application
|
|
ToString ( ) : string |
returns detailed instance information for debugging
|
|
WebApplicationContext ( ) : System |
Create a new WebApplicationContext, loading the definitions from the given XML resource.
|
|
WebApplicationContext ( |
Initializes a new instance of the WebApplicationContext class.
|
|
WebApplicationContext ( string name, bool caseSensitive ) : System |
Create a new WebApplicationContext, loading the definitions from the given XML resource.
|
|
WebApplicationContext ( string name, bool caseSensitive, IApplicationContext parentContext ) : System |
Create a new WebApplicationContext with the given parent, loading the definitions from the given XML resources.
|
|
WebApplicationContext ( string name, bool caseSensitive, string configurationLocations, IResource configurationResources ) : System |
Create a new WebApplicationContext, loading the definitions from the given XML resource.
|
Method | Description | |
---|---|---|
CreateObjectFactory ( ) : Spring.Objects.Factory.Support.DefaultListableObjectFactory |
Creates web object factory for this context using parent context's factory as a parent.
|
|
CreateXmlObjectDefinitionReader ( Spring.Objects.Factory.Support.DefaultListableObjectFactory objectFactory ) : Spring.Objects.Factory.Xml.XmlObjectDefinitionReader |
Create a reader instance capable of handling web objects (Pages,Controls) for importing o bject definitions into the specified objectFactory.
|
|
InitObjectDefinitionReader ( Spring.Objects.Factory.Xml.XmlObjectDefinitionReader objectDefinitionReader ) : void |
Initializes object definition reader.
|
Method | Description | |
---|---|---|
GetContextInternal ( string virtualPath ) : IApplicationContext | ||
GetContextPathWithTrailingSlash ( ) : string |
Returns the application-relative virtual path of this context (without leading '~'!).
|
|
OnContextRegistryCleared ( object sender, |
EventHandler for ContextRegistry.Cleared event. Discards webContextCache.
|
protected CreateObjectFactory ( ) : Spring.Objects.Factory.Support.DefaultListableObjectFactory | ||
return | Spring.Objects.Factory.Support.DefaultListableObjectFactory |
protected CreateXmlObjectDefinitionReader ( Spring.Objects.Factory.Support.DefaultListableObjectFactory objectFactory ) : Spring.Objects.Factory.Xml.XmlObjectDefinitionReader | ||
objectFactory | Spring.Objects.Factory.Support.DefaultListableObjectFactory | |
return | Spring.Objects.Factory.Xml.XmlObjectDefinitionReader |
public static GetContext ( string virtualPath ) : IApplicationContext | ||
virtualPath | string | |
return | IApplicationContext |
public static GetRootContext ( ) : IApplicationContext | ||
return | IApplicationContext |
protected InitObjectDefinitionReader ( Spring.Objects.Factory.Xml.XmlObjectDefinitionReader objectDefinitionReader ) : void | ||
objectDefinitionReader | Spring.Objects.Factory.Xml.XmlObjectDefinitionReader | Reader to initialize. |
return | void |
public WebApplicationContext ( |
||
args | The args. | |
return | System |
public WebApplicationContext ( string name, bool caseSensitive ) : System | ||
name | string | The application context name. |
caseSensitive | bool | Flag specifying whether to make this context case sensitive or not. |
return | System |
public WebApplicationContext ( string name, bool caseSensitive, IApplicationContext parentContext ) : System | ||
name | string | The application context name. |
caseSensitive | bool | Flag specifying whether to make this context case sensitive or not. |
parentContext | IApplicationContext | The parent context. |
return | System |
public WebApplicationContext ( string name, bool caseSensitive, string configurationLocations, IResource configurationResources ) : System | ||
name | string | The application context name. |
caseSensitive | bool | Flag specifying whether to make this context case sensitive or not. |
configurationLocations | string | Names of configuration resources. |
configurationResources | IResource | Configuration resources. |
return | System |