Property | Type | Description | |
---|---|---|---|
$beanContext | AppserverIo\Psr\EnterpriseBeans\BeanContextInterface | The bean context we want to parse the directories for. |
Method | 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. |
Method | 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 | ||
return | AppserverIo\Psr\Application\ApplicationInterface | The application context instance |
public getBeanContext ( ) : AppserverIo\Psr\EnterpriseBeans\BeanContextInterface | ||
return | 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 |
return | void |
protected parseDirectory ( string $directory ) : void | ||
$directory | string | The directory to parse |
return | void |