See Also

IListableObjectFactory Members  | Spring.Objects.Factory Namespace

Requirements

Namespace: Spring.Objects.Factory

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)

Language

Visual Basic

C#

Show All

See Also Requirements Languages Spring.Core Send comments on this topic.

IListableObjectFactory Interface

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.

Syntax

[Visual Basic]
Public Interface IListableObjectFactory    Inherits IObjectFactory 
[C#]
public interface IListableObjectFactory : IObjectFactory 

Remarks

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.

Requirements

Namespace: Spring.Objects.Factory

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)

See Also

IListableObjectFactory Members  | Spring.Objects.Factory Namespace

 

 


© 2004-2006 Spring.NET Authors. All Rights Reserved.