|Spring.Objects.Factory Namespace : IListableObjectFactory Interface|
Extension of the IObjectFactory interface to be implemented by object factories that can enumerate all their object instances, rather than attempting object lookup by name one by one as requested by clients.
For a list of all members of this type, see IListableObjectFactory members.
Public Interface IListableObjectFactory Inherits IObjectFactory
public interface IListableObjectFactory : IObjectFactory
IObjectFactory implementations that preload all their objects (for example, DOM-based XML factories) may implement this interface. This interface is discussed in "Expert One-on-One J2EE Design and Development", by Rod Johnson.
If this is an IHierarchicalObjectFactory, the return values will not take any IObjectFactory hierarchy into account, but will relate only to the objects defined in the current factory. Use the ObjectFactoryUtils helper class to get all objects.
With the exception of ObjectDefinitionCount, the methods and properties in this interface are not designed for frequent invocation. Implementations may be slow.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Spring.Core (in Spring.Core.dll)
© 2004-2006 Spring.NET Authors. All Rights Reserved.