PHP Class AppserverIo\Appserver\PersistenceContainer\DependencyInjection\DeploymentDescriptorParser

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 deployment descriptor 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 deployment descriptor file for beans that has to be registered in the object manager.

Méthodes protégées

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

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 deployment descriptor file for beans that has to be registered in the object manager.
public parse ( ) : void
Résultat void

processConfigurationNode() protected méthode

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

Property Details

$beanContext protected_oe property

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