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

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

보호된 프로퍼티들

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

보호된 메소드들

메소드 설명
parseDirectory ( string $directory ) : void Parses the passed directory for classes and instances that has to be registered in 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 web application base directory for beans that has to be registered in the object manager.
public parse ( ) : void
리턴 void

parseDirectory() 보호된 메소드

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

프로퍼티 상세

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

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