PHP Класс AppserverIo\Appserver\PersistenceContainer\DependencyInjection\DeploymentDescriptorParser

Автор: Tim Wagner ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$beanContext AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean context we want to parse the deployment descriptor for.

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

Метод Описание
getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface Returns the application context instance the bean context is bound to.
getBeanContext ( ) : AppserverIo\Psr\EnterpriseBeans\BeanContextInterface Returns the bean context instance.
injectBeanContext ( AppserverIo\Psr\EnterpriseBeans\BeanContextInterface $beanContext ) : void Inject the bean context instance.
parse ( ) : void Parses the bean context's deployment descriptor file for beans that has to be registered in the object manager.

Защищенные методы

Метод Описание
processConfigurationNode ( AppserverIo\Configuration\Interfaces\NodeInterface $node ) : void Creates a new descriptor instance from the data of the passed configuration node and add's it to the object manager.

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

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

Returns the application context instance the bean context is bound to.
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface
Результат AppserverIo\Psr\Application\ApplicationInterface The application context instance

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

Returns the bean context instance.
public getBeanContext ( ) : AppserverIo\Psr\EnterpriseBeans\BeanContextInterface
Результат AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean context instance

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

Inject the bean context instance.
public injectBeanContext ( AppserverIo\Psr\EnterpriseBeans\BeanContextInterface $beanContext ) : void
$beanContext AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean context instance
Результат void

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

Parses the bean context's deployment descriptor file for beans that has to be registered in the object manager.
public parse ( ) : void
Результат void

processConfigurationNode() защищенный Метод

Creates a new descriptor instance from the data of the passed configuration node and add's it to the object manager.
protected processConfigurationNode ( AppserverIo\Configuration\Interfaces\NodeInterface $node ) : void
$node AppserverIo\Configuration\Interfaces\NodeInterface The node to process
Результат void

Описание свойств

$beanContext защищенное свойство

The bean context we want to parse the deployment descriptor for.
protected BeanContextInterface,AppserverIo\Psr\EnterpriseBeans $beanContext
Результат AppserverIo\Psr\EnterpriseBeans\BeanContextInterface