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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$servletContext AppserverIo\Psr\Servlet\ServletContextInterface The servlet context we want to parse the deployment descriptor for.

공개 메소드들

메소드 설명
getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface Returns the application context instance the servlet context is bound to.
getServletContext ( ) : AppserverIo\Psr\Servlet\ServletContextInterface Returns the servlet context instance.
injectServletContext ( AppserverIo\Psr\Servlet\ServletContextInterface $servletContext ) : void Inject the servlet context instance.
parse ( ) : void Parses the servlet context's deployment descriptor file for servlets that has to be registered in the object manager.

메소드 상세

getApplication() 공개 메소드

Returns the application context instance the servlet context is bound to.
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface
리턴 AppserverIo\Psr\Application\ApplicationInterface The application context instance

getServletContext() 공개 메소드

Returns the servlet context instance.
public getServletContext ( ) : AppserverIo\Psr\Servlet\ServletContextInterface
리턴 AppserverIo\Psr\Servlet\ServletContextInterface The servlet context instance

injectServletContext() 공개 메소드

Inject the servlet context instance.
public injectServletContext ( AppserverIo\Psr\Servlet\ServletContextInterface $servletContext ) : void
$servletContext AppserverIo\Psr\Servlet\ServletContextInterface The servlet context instance
리턴 void

parse() 공개 메소드

Parses the servlet context's deployment descriptor file for servlets that has to be registered in the object manager.
public parse ( ) : void
리턴 void

프로퍼티 상세

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

The servlet context we want to parse the deployment descriptor for.
protected ServletContextInterface,AppserverIo\Psr\Servlet $servletContext
리턴 AppserverIo\Psr\Servlet\ServletContextInterface