Свойство | Type | Description | |
---|---|---|---|
log | ILog |
Méthode | Description | |
---|---|---|
Instantiate ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string name, IObjectFactory factory ) : object |
Instantiate an instance of the object described by the supplied definition from the supplied factory.
|
|
Instantiate ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string name, IObjectFactory factory, |
Instantiate an instance of the object described by the supplied definition from the supplied factory.
|
|
Instantiate ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string name, IObjectFactory factory, MethodInfo factoryMethod, object arguments ) : object |
Instantiate an instance of the object described by the supplied definition from the supplied factory.
|
Méthode | Description | |
---|---|---|
InstantiateWithMethodInjection ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string objectName, IObjectFactory factory ) : object |
Instantiate an instance of the object described by the supplied definition from the supplied factory, injecting methods as appropriate. The default implementation of this method is to throw a System.InvalidOperationException. Derived classes can override this method if they can instantiate an object with the Method Injection specified in the supplied definition. Instantiation should use a no-arg constructor. |
|
InstantiateWithMethodInjection ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string objectName, IObjectFactory factory, |
Instantiate an instance of the object described by the supplied definition from the supplied factory, injecting methods as appropriate. The default implementation of this method is to throw a System.InvalidOperationException. Derived classes can override this method if they can instantiate an object with the Method Injection specified in the supplied definition. Instantiation should use the supplied constructor and attendant arguments. |
Méthode | Description | |
---|---|---|
GetZeroArgConstructorInfo ( |
Gets the zero arg ConstructorInfo object, if the type offers such functionality.
|
public Instantiate ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string name, IObjectFactory factory ) : object | ||
definition | Spring.Objects.Factory.Support.RootObjectDefinition | /// The definition of the object that is to be instantiated. /// |
name | string |
/// The name associated with the object definition. The name can be the null
/// or zero length string if we're autowiring an object that doesn't belong
/// to the supplied |
factory | IObjectFactory |
/// The owning |
Résultat | object |
public Instantiate ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string name, IObjectFactory factory, |
||
definition | Spring.Objects.Factory.Support.RootObjectDefinition | /// The definition of the object that is to be instantiated. /// |
name | string |
/// The name associated with the object definition. The name can be the null
/// or zero length string if we're autowiring an object that doesn't belong
/// to the supplied |
factory | IObjectFactory |
/// The owning |
constructor |
/// The |
|
arguments | object |
/// Any arguments to the supplied |
Résultat | object |
public Instantiate ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string name, IObjectFactory factory, MethodInfo factoryMethod, object arguments ) : object | ||
definition | Spring.Objects.Factory.Support.RootObjectDefinition | /// The definition of the object that is to be instantiated. /// |
name | string |
/// The name associated with the object definition. The name can be the null
/// or zero length string if we're autowiring an object that doesn't belong
/// to the supplied |
factory | IObjectFactory |
/// The owning |
factoryMethod | MethodInfo |
/// The |
arguments | object |
/// Any arguments to the supplied |
Résultat | object |
protected InstantiateWithMethodInjection ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string objectName, IObjectFactory factory ) : object | ||
definition | Spring.Objects.Factory.Support.RootObjectDefinition | /// The definition of the object that is to be instantiated. /// |
objectName | string |
/// The name associated with the object definition. The name can be a
/// |
factory | IObjectFactory |
/// The owning |
Résultat | object |
protected InstantiateWithMethodInjection ( Spring.Objects.Factory.Support.RootObjectDefinition definition, string objectName, IObjectFactory factory, |
||
definition | Spring.Objects.Factory.Support.RootObjectDefinition | /// The definition of the object that is to be instantiated. /// |
objectName | string |
/// The name associated with the object definition. The name can be the null
/// or zero length string if we're autowiring an object that doesn't belong
/// to the supplied |
factory | IObjectFactory |
/// The owning |
constructor |
/// The |
|
arguments | object |
/// Any arguments to the supplied |
Résultat | object |