PHP 클래스 AppserverIo\Appserver\PersistenceContainer\DependencyInjection\DeploymentDescriptorParser

파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$beanContext AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean context we want to parse the deployment descriptor 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 deployment descriptor file for beans that has to be registered in the object manager.

보호된 메소드들

메소드 설명
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.

메소드 상세

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

processConfigurationNode() 보호된 메소드

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
리턴 void

프로퍼티 상세

$beanContext 보호되어 있는 프로퍼티

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