PHP Class AppserverIo\Appserver\PersistenceContainer\DependencyInjection\DirectoryParser

Afficher le fichier Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Свойство Type Description
$beanContext AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean context we want to parse the directories for.

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
parseDirectory ( string $directory ) : void Parses the passed directory for classes and instances that has to be registered in the object manager.

Method Details

getApplication() public méthode

Returns the application context instance the bean context is bound to.
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface
Résultat AppserverIo\Psr\Application\ApplicationInterface The application context instance

getBeanContext() public méthode

Returns the bean context instance.
public getBeanContext ( ) : AppserverIo\Psr\EnterpriseBeans\BeanContextInterface
Résultat AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean context instance

injectBeanContext() public méthode

Inject the bean context instance.
public injectBeanContext ( AppserverIo\Psr\EnterpriseBeans\BeanContextInterface $beanContext ) : void
$beanContext AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean context instance
Résultat void

parse() public méthode

Parses the bean context's web application base directory for beans that has to be registered in the object manager.
public parse ( ) : void
Résultat void

parseDirectory() protected méthode

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
Résultat void

Property Details

$beanContext protected_oe property

The bean context we want to parse the directories for.
protected BeanContextInterface,AppserverIo\Psr\EnterpriseBeans $beanContext
Résultat AppserverIo\Psr\EnterpriseBeans\BeanContextInterface