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

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

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

Свойство Тип Описание
$beanContext AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean context we want to parse the directories 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 web application base directory for beans that has to be registered in the object manager.

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

Метод Описание
parseDirectory ( string $directory ) : void Parses the passed directory for classes and instances that has to be registered in 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 web application base directory for beans that has to be registered in the object manager.
public parse ( ) : void
Результат void

parseDirectory() защищенный метод

Parses the passed directory for classes and instances that has to be registered in the object manager.
protected parseDirectory ( string $directory ) : void
$directory string The directory to parse
Результат void

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

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

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