Свойство | Type | Description | |
---|---|---|---|
$beanContext | AppserverIo\Psr\EnterpriseBeans\BeanContextInterface | The bean context we want to parse the directories for. |
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éthode | Description | |
---|---|---|
parseDirectory ( string $directory ) : void | Parses the passed directory for classes and instances that has to be registered in the object manager. |
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface | ||
Résultat | AppserverIo\Psr\Application\ApplicationInterface | The application context instance |
public getBeanContext ( ) : AppserverIo\Psr\EnterpriseBeans\BeanContextInterface | ||
Résultat | AppserverIo\Psr\EnterpriseBeans\BeanContextInterface | The bean context instance |
public injectBeanContext ( AppserverIo\Psr\EnterpriseBeans\BeanContextInterface $beanContext ) : void | ||
$beanContext | AppserverIo\Psr\EnterpriseBeans\BeanContextInterface | The bean context instance |
Résultat | void |
protected parseDirectory ( string $directory ) : void | ||
$directory | string | The directory to parse |
Résultat | void |