Spring.Core
GenericApplicationContext Class Members
See Also  Fields  Properties  Methods  Events Send comments on this topic.
Spring.Context.Support Namespace : GenericApplicationContext Class


The following tables list the members exposed by GenericApplicationContext.

Public Constructors

  Name Description
Public Constructor GenericApplicationContext Constructor Overloaded.   
Top

Protected Fields

  Name Description
Protected Field log The ILog instance for this class. (Inherited from AbstractApplicationContext)
Top

Public Properties

  Name Description
Public Property DefaultListableObjectFactory Gets the underlying object factory of this context, available for registering object definitions.  
Public Property DefaultResourceProtocol The default protocol to use for unqualified resources. (Inherited from Spring.Core.IO.ConfigurableResourceLoader)
Public Property EventRaiser Set the EventRaiser to be used by this context. (Inherited from AbstractApplicationContext)
Public Property EventRegistry The Spring.Objects.Events.IEventRegistry for this context. (Inherited from AbstractApplicationContext)
Public Property IsCaseSensitive Gets a flag indicating whether context should be case sensitive. (Inherited from AbstractApplicationContext)
Public Property IsRunning Gets a value indicating whether this component is currently running. (Inherited from AbstractApplicationContext)
Public Property Item Return an instance (possibly shared or independent) of the given object name. (Inherited from AbstractApplicationContext)
Public Property MessageSource The IMessageSource for this context. (Inherited from AbstractApplicationContext)
Public Property Name A name for this context. (Inherited from AbstractApplicationContext)
Public Property ObjectDefinitionCount Return the number of objects defined in the factory. (Inherited from AbstractApplicationContext)
Public Property ObjectFactory Overridden.  Return the internal object factory of this application context.  
Public Property ParentContext Gets the parent context, or a null reference (Nothing in Visual Basic) if there is no parent context. (Inherited from AbstractApplicationContext)
Public Property ParentObjectFactory Return the parent object factory, or a null reference (Nothing in Visual Basic) if there is none. (Inherited from AbstractApplicationContext)
Public Property StartupDate The date and time this context was first loaded. (Inherited from AbstractApplicationContext)
Public Property StartupDateMilliseconds The timestamp when this context was first loaded. (Inherited from AbstractApplicationContext)
Public Property SyncRoot An object that can be used to synchronize access to the AbstractXmlApplicationContext (Inherited from AbstractApplicationContext)
Top

Public Methods

  Name Description
Public Method AddObjectFactoryPostProcessor Add a new Spring.Objects.Factory.Config.IObjectFactoryPostProcessor that will get applied to the internal object factory of this application context on refresh, before any of the object definitions are evaluated. (Inherited from AbstractApplicationContext)
Public Method ApplyResources Applies resources to object properties. (Inherited from AbstractApplicationContext)
Public Method ConfigureObject Overloaded.  (Inherited from AbstractApplicationContext)
Public Method ContainsLocalObject Determines whether the local object factory contains a bean of the given name, ignoring object defined in ancestor contexts. This is an alternative to
ContainsObject
, ignoring an object of the given name from an ancestor object factory. (Inherited from AbstractApplicationContext)
Public Method ContainsObject Does this object factory contain an object with the given name? (Inherited from AbstractApplicationContext)
Public Method ContainsObjectDefinition Check if this object factory contains an object definition with the given name. (Inherited from AbstractApplicationContext)
Public Method CreateObject Return an unconfigured(!) instance (possibly shared or independent) of the given object name. (Inherited from AbstractApplicationContext)
Public Method Dispose Closes this context and disposes of any resources (such as singleton objects in the wrapped Spring.Objects.Factory.IObjectFactory). (Inherited from AbstractApplicationContext)
Public Method GetAliases Return the aliases for the given object name, if defined. (Inherited from AbstractApplicationContext)
Public Method GetMessage Overloaded.  (Inherited from AbstractApplicationContext)
Public Method GetObject Overloaded.  (Inherited from AbstractApplicationContext)
Public Method GetObjectDefinition Overloaded.  (Inherited from AbstractApplicationContext)
Public Method GetObjectDefinitionNames Return the names of all objects defined in this factory. (Inherited from AbstractApplicationContext)
Public Method GetObjectNamesForType Overloaded.  (Inherited from AbstractApplicationContext)
Public Method GetObjectsOfType Overloaded.  (Inherited from AbstractApplicationContext)
Public Method GetResource Returns a Spring.Core.IO.IResource that has been mapped to the protocol of the supplied resourceName. (Inherited from Spring.Core.IO.ConfigurableResourceLoader)
Public Method GetResourceObject Overloaded.  (Inherited from AbstractApplicationContext)
Public Method GetType Overloaded.  (Inherited from AbstractApplicationContext)
Public Method IsObjectNameInUse Overridden.  Determines whether the given object name is already in use within this factory, i.e. whether there is a local object or alias registered under this name or an inner object created with this name.  
Public Method IsPrototype Determines whether the specified object name is prototype. That is, will GetObject always return independent instances? (Inherited from AbstractApplicationContext)
Public Method IsSingleton Is this object a singleton? (Inherited from AbstractApplicationContext)
Public Method IsTypeMatch Determines whether the object with the given name matches the specified type. (Inherited from AbstractApplicationContext)
Public Method PublishEvent Publishes an application context event. (Inherited from AbstractApplicationContext)
Public Method PublishEvents Publishes all events of the source object. (Inherited from AbstractApplicationContext)
Public Method Refresh Load or refresh the persistent representation of the configuration, which might an XML file, properties file, or relational database schema. (Inherited from AbstractApplicationContext)
Public Method RegisterAlias Given a object name, create an alias. We typically use this method to support names that are illegal within XML ids (used for object names). (Inherited from AbstractApplicationContext)
Public Method RegisterObjectDefinition Register a new object definition with this registry. Must support Spring.Objects.Factory.Support.RootObjectDefinition and Spring.Objects.Factory.Support.ChildObjectDefinition. (Inherited from AbstractApplicationContext)
Public Method Start Starts this component. (Inherited from AbstractApplicationContext)
Public Method Stop Stops this component. (Inherited from AbstractApplicationContext)
Public Method Subscribe Overloaded.  (Inherited from AbstractApplicationContext)
Public Method Unsubscribe Overloaded.  (Inherited from AbstractApplicationContext)
Top

Protected Methods

  Name Description
Protected Method AddDefaultObjectPostProcessor Adds the given Spring.Objects.Factory.Config.IObjectPostProcessor to the list of standard processors being added to the underlying Spring.Objects.Factory.Config.IConfigurableObjectFactory (Inherited from AbstractApplicationContext)
Protected Method CreateEventRaiser Create the EventRaiser strategy to be used (Inherited from AbstractApplicationContext)
Protected Method EnsureKnownObjectPostProcessors Ensures, that predefined ObjectPostProcessors are registered with this ObjectFactory (Inherited from AbstractApplicationContext)
Protected Method GetInternalParentMessageSource Returns the internal message source of the parent context if said parent context is an AbstractApplicationContext, else simply the parent context itself. (Inherited from AbstractApplicationContext)
Protected Method GetInternalParentObjectFactory Returns the internal object factory of the parent context if it implements IConfigurableApplicationContext; else, returns the parent context itself. (Inherited from AbstractApplicationContext)
Protected Method InvokePriorityOrderedObjectFactoryPostProcessors (Inherited from AbstractApplicationContext)
Protected Method OnContextEvent Overloaded.  (Inherited from AbstractApplicationContext)
Protected Method OnPostRefresh Template method which can be overridden to add context-specific work after the context was refreshed but before the ContextEventArgs+ContextEvent.Refreshed event gets raised. (Inherited from AbstractApplicationContext)
Protected Method OnPreRefresh Template method which can be overridden to add context-specific work before the underlying object factory gets refreshed. (Inherited from AbstractApplicationContext)
Protected Method OnRefresh Template method which can be overridden to add context-specific refresh work. (Inherited from AbstractApplicationContext)
Protected Method PostProcessObjectFactory Modify the application context's internal object factory after its standard initialization. (Inherited from AbstractApplicationContext)
Protected Method RefreshObjectFactory Overridden.  Do nothing operation. We hold a single internal ObjectFactory and rely on callers to register objects throug our public methods (or the ObjectFactory's).  
Top

Public Events

  Name Description
Public Event ContextEvent Raised in response to an implementation-dependant application context event. (Inherited from AbstractApplicationContext)
Top

See Also

© 2011 All Rights Reserved.