C# Класс Spring.Objects.Factory.Config.FieldRetrievingFactoryObject

Наследование: IFactoryObject, IInitializingObject, IObjectNameAware
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AfterPropertiesSet ( ) : void

Invoked by an Spring.Objects.Factory.IObjectFactory after it has set all object properties supplied (and satisfied Spring.Objects.Factory.IObjectFactoryAware and ApplicationContextAware).

This method allows the object instance to perform initialization only possible when all object properties have been set and to throw an exception in the event of misconfiguration.

GetObject ( ) : object

Return an instance (possibly shared or independent) of the object managed by this factory.

Приватные методы

Метод Описание
ParseAndSetFromStaticFieldValue ( ) : void

Описание методов

AfterPropertiesSet() публичный Метод

Invoked by an Spring.Objects.Factory.IObjectFactory after it has set all object properties supplied (and satisfied Spring.Objects.Factory.IObjectFactoryAware and ApplicationContextAware).

This method allows the object instance to perform initialization only possible when all object properties have been set and to throw an exception in the event of misconfiguration.

/// In the event of misconfiguration (such as failure to set an essential /// property) or if initialization fails. ///
public AfterPropertiesSet ( ) : void
Результат void

GetObject() публичный Метод

Return an instance (possibly shared or independent) of the object managed by this factory.
public GetObject ( ) : object
Результат object