public interface ServletExtension
ServiceLoader
from the deployment
class loader, and are the first things run after the servlet context is created.
There are many possible use cases for these extensions. Some obvious ones are:
- Adding additional handlers
- Adding new authentication mechanisms
- Adding and removing servletsModifier and Type | Method and Description |
---|---|
void |
handleDeployment(DeploymentInfo deploymentInfo,
ServletContext servletContext) |
void handleDeployment(DeploymentInfo deploymentInfo, ServletContext servletContext)
Copyright © 2019 JBoss by Red Hat. All rights reserved.