Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IFactoryObject Interface

Interface to be implemented by objects used within an IObjectFactory that are themselves factories.

For a list of all members of this type, see IFactoryObject Members .

Spring.Objects.Factory.IFactoryObject
   Spring.Objects.Factory.Config.IConfigurableFactoryObject

[Visual Basic]
Public Interface IFactoryObject
[C#]
public interface IFactoryObject

Types that implement IFactoryObject

Type Description
ProxyFactoryObject IFactoryObject implementation to source AOP proxies from a Spring.NET IoC container (an IObjectFactory).
DbProviderFactoryObject A IFactoryObject implementation that creates instances of the IDbProvider class.
FilterDefinitionFactoryObject Convenient FactoryObject for defining Hibernate FilterDefinitions. Exposes a corresponding Hibernate FilterDefinition object.
FilterDefinitionFactoryObject Convenient FactoryObject for defining Hibernate FilterDefinitions. Exposes a corresponding Hibernate FilterDefinition object.
LocalSessionFactoryObject An IFactoryObject that creates a local Hibernate SessionFactory instance. Behaves like a SessionFactory instance when used as bean reference, e.g. for HibernateTemplate's "SessionFactory" property.
LocalSessionFactoryObject An IFactoryObject that creates a local Hibernate SessionFactory instance. Behaves like a SessionFactory instance when used as bean reference, e.g. for HibernateTemplate's "SessionFactory" property.
LocalSessionFactoryObject An IFactoryObject that creates a local Hibernate SessionFactory instance. Behaves like a SessionFactory instance when used as bean reference, e.g. for HibernateTemplate's "SessionFactory" property.
ServicedComponentFactory Factory Object that instantiates and configures ServicedComponent.
MessageQueueFactoryObject Factory for creating MessageQueues. This factory will create prototype instances, i.e. every call to GetObject will return a new MessageQueue object.
AbstractFactoryObject Simple template superclass for IFactoryObject implementations that allows for the creation of a singleton or a prototype instance (depending on a flag).
DelegateFactoryObject IFactoryObject implementation that creates delegates.
DictionaryFactoryObject Simple factory for shared IDictionary instances.
FieldRetrievingFactoryObject IFactoryObject implementation that retrieves a static or non-static public field value.
ListFactoryObject Simple factory for shared IList instances.
LogFactoryObject IFactoryObject implementation that creates instances of the ILog class.
MethodInvokingFactoryObject An IFactoryObject that returns a value that is the result of a static (Shared in Visual Basic) or instance method invocation.
ObjectFactoryCreatingFactoryObject Returns a value that is an IGenericObjectFactory that returns an object from an IObjectFactory.
ObjectReferenceFactoryObject An IFactoryObject implementation that exposes an arbitrary target object under a different name.
PropertyPathFactoryObject IFactoryObject implementation that evaluates a property path on a given target object.
PropertyRetrievingFactoryObject IFactoryObject implementation that retrieves a or non-static public property value.
ResourceManagerFactoryObject A convenience class to create a ResourceManager given the resource base name and assembly name.
SetFactoryObject Simple factory object for shared ISet instances.
CaoFactoryObject Factory for creating a reference to a client activated object (CAO).
RemoteObjectFactory Factory for creating MarshalByRefObject wrapper around target class.
SaoFactoryObject Factory for creating a reference to a remote server activated object (SAO).
MethodInvokingJobDetailFactoryObject IFactoryObject that exposes a JobDetail object that delegates job execution to a specified (static or non-static) method. Avoids the need to implement a one-line Quartz Job that just invokes an existing service method.
SchedulerFactoryObject FactoryObject that sets up a Quartz Scheduler and exposes it for object references.
VelocityEngineFactoryObject FactoryObject implementation that configures a VelocityEngine and provides it as an object reference. This object is intended for any kind of usage of Velocity in application code, e.g. for generating email content. See the base class VelocityEngineFactory for configuration details.
TransactionProxyFactoryObject Proxy factory object for simplified declarative transaction handling.
WebServiceExporter Exports an object as a web service.
WebServiceProxyFactory Factory Object that dynamically implements service interface for web service.

Remarks

If an object implements this interface, it is used as a factory, not directly as an object. IFactoryObjects can support singletons and prototypes (IsSingleton)... please note that an IFactoryObject itself can only ever be a singleton. It is a logic error to configure an IFactoryObject itself to be a prototype.

CAUTION    An object that implements this interface cannot be used as a normal object.

Requirements

Namespace: Spring.Objects.Factory

Assembly: Spring.Core (in Spring.Core.dll)

See Also

IFactoryObject Members | Spring.Objects.Factory Namespace