| Visual Basic (Declaration) | |
|---|---|
Public Interface IListableObjectFactory Inherits IObjectFactory | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
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.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family