Spring.Core
DefaultListableObjectFactory Property
See Also  Send comments on this topic.
Spring.Context.Support Namespace > GenericApplicationContext Class : DefaultListableObjectFactory Property


Gets the underlying object factory of this context, available for registering object definitions.

Syntax

Visual Basic (Declaration)  
Public ReadOnly Property DefaultListableObjectFactory As DefaultListableObjectFactory
Visual Basic (Usage) Copy Code
Dim instance As GenericApplicationContext
Dim value As DefaultListableObjectFactory
 
value = instance.DefaultListableObjectFactory
C#  
public DefaultListableObjectFactory DefaultListableObjectFactory {get;}

Return Value

The internal object factory (as DefaultListableObjectFactory).

Remarks

You need to call
Refresh
to initialize the objects factory and its contained objects with application context semantics (autodecting IObjectFactoryPostProcessors, etc).

Requirements

Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© 2011 All Rights Reserved.