Свойство | Type | Description | |
---|---|---|---|
$servletContext | AppserverIo\Psr\Servlet\ServletContextInterface | The servlet context we want to parse the deployment descriptor for. |
Méthode | Description | |
---|---|---|
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 web application base directory for servlets that has to be registered in the object manager. |
Méthode | Description | |
---|---|---|
parseDirectory ( string $directory ) : void | Parses the passed directory for classes and instances that has to be registered in the object manager. |
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface | ||
Résultat | AppserverIo\Psr\Application\ApplicationInterface | The application context instance |
public getServletContext ( ) : AppserverIo\Psr\Servlet\ServletContextInterface | ||
Résultat | AppserverIo\Psr\Servlet\ServletContextInterface | The servlet context instance |
public injectServletContext ( AppserverIo\Psr\Servlet\ServletContextInterface $servletContext ) : void | ||
$servletContext | AppserverIo\Psr\Servlet\ServletContextInterface | The servlet context instance |
Résultat | void |
protected parseDirectory ( string $directory ) : void | ||
$directory | string | The directory to parse |
Résultat | void |