PHP 클래스 AppserverIo\Appserver\AspectContainer\AspectManager

상속: implements AppserverIo\Appserver\AspectContainer\Interfaces\AspectManagerInterface, implements AppserverIo\Psr\Application\ManagerInterface
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

공개 메소드들

메소드 설명
getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface | AppserverIo\Psr\Naming\NamingDirectoryInterface Returns the application instance.
getAspectRegister ( ) : AppserverIo\Doppelgaenger\AspectRegister Getter for the $aspectRegister property
getAttribute ( string $key ) : mixed Returns the value with the passed name from the context.
getIdentifier ( ) : string The managers unique identifier.
getReflectionClass ( string $className ) : AppserverIo\Lang\Reflection\ReflectionClass Returns a reflection class instance for the passed class name.
getWebappPath ( ) : string Returns the absolute path to the web application.
initialize ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void Has been automatically invoked by the container after the application instance has been created.
injectApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void Inject the application instance.
injectAspectRegister ( AppserverIo\Doppelgaenger\AspectRegister $aspectRegister ) : null Inject the aspect register
registerAspectXml ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void Registers aspects written within source files which we might encounter

보호된 메소드들

메소드 설명
generatePointcutPointcut ( array $pointcutNames, AppserverIo\Doppelgaenger\Entities\Definitions\Aspect $aspect ) : AppserverIo\Doppelgaenger\Entities\Pointcuts\PointcutPointcut Will create a PointcutPointcut instance referencing all concrete pointcuts configured for a certain advice.
registerAspectClasses ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void Registers aspects written within source files which we might encounter
registerAspects ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void Registers the message beans at startup.

메소드 상세

generatePointcutPointcut() 보호된 메소드

Needs a list of these pointcuts
protected generatePointcutPointcut ( array $pointcutNames, AppserverIo\Doppelgaenger\Entities\Definitions\Aspect $aspect ) : AppserverIo\Doppelgaenger\Entities\Pointcuts\PointcutPointcut
$pointcutNames array List of names of referenced pointcuts
$aspect AppserverIo\Doppelgaenger\Entities\Definitions\Aspect The aspect to which the advice belongs
리턴 AppserverIo\Doppelgaenger\Entities\Pointcuts\PointcutPointcut

getApplication() 공개 메소드

Returns the application instance.
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface | AppserverIo\Psr\Naming\NamingDirectoryInterface
리턴 AppserverIo\Psr\Application\ApplicationInterface | AppserverIo\Psr\Naming\NamingDirectoryInterface The application instance

getAspectRegister() 공개 메소드

Getter for the $aspectRegister property
public getAspectRegister ( ) : AppserverIo\Doppelgaenger\AspectRegister
리턴 AppserverIo\Doppelgaenger\AspectRegister The aspect register

getAttribute() 공개 메소드

Returns the value with the passed name from the context.
public getAttribute ( string $key ) : mixed
$key string The key of the value to return from the context.
리턴 mixed The requested attribute

getIdentifier() 공개 메소드

The managers unique identifier.
public getIdentifier ( ) : string
리턴 string The unique identifier

getReflectionClass() 공개 메소드

Returns a reflection class instance for the passed class name.
또한 보기: DependencyInjectionContainer\Interfaces\ProviderInterface::getReflectionClass()
public getReflectionClass ( string $className ) : AppserverIo\Lang\Reflection\ReflectionClass
$className string The class name to return the reflection class instance for
리턴 AppserverIo\Lang\Reflection\ReflectionClass The reflection instance

getWebappPath() 공개 메소드

Returns the absolute path to the web application.
public getWebappPath ( ) : string
리턴 string The absolute path

initialize() 공개 메소드

Has been automatically invoked by the container after the application instance has been created.
public initialize ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
리턴 void

injectApplication() 공개 메소드

Inject the application instance.
public injectApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
리턴 void

injectAspectRegister() 공개 메소드

Inject the aspect register
public injectAspectRegister ( AppserverIo\Doppelgaenger\AspectRegister $aspectRegister ) : null
$aspectRegister AppserverIo\Doppelgaenger\AspectRegister The aspect register instance
리턴 null

registerAspectClasses() 보호된 메소드

Registers aspects written within source files which we might encounter
protected registerAspectClasses ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
리턴 void

registerAspectXml() 공개 메소드

Registers aspects written within source files which we might encounter
public registerAspectXml ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
리턴 void

registerAspects() 보호된 메소드

Registers the message beans at startup.
protected registerAspects ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
리턴 void