@Service(name="Security") public class SecurityDeployer extends SimpleDeployer<SecurityContainer,DummyApplication> implements org.glassfish.hk2.api.PostConstruct
This contains many JACC life cycle methods which can/should be moved to the JACC package
| Constructor and Description |
|---|
SecurityDeployer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanArtifacts(DeploymentContext context) |
protected void |
generateArtifacts(DeploymentContext context) |
static List<EventTypes> |
getDeploymentEvents() |
MetaData |
getMetaData()
Returns the meta data assocated with this Deployer
|
DummyApplication |
load(SecurityContainer container,
DeploymentContext context)
No-op
|
void |
loadPolicy(WebBundleDescriptor webDescriptor,
boolean remove)
Translate Web Bundle Policy
|
void |
postConstruct() |
void |
unload(DummyApplication container,
DeploymentContext context)
No-op
|
clean, loadMetaData, preparepublic void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructprotected void generateArtifacts(DeploymentContext context) throws DeploymentException
generateArtifacts in class SimpleDeployer<SecurityContainer,DummyApplication>DeploymentExceptionprotected void cleanArtifacts(DeploymentContext context) throws DeploymentException
cleanArtifacts in class SimpleDeployer<SecurityContainer,DummyApplication>DeploymentExceptionpublic DummyApplication load(SecurityContainer container, DeploymentContext context)
SimpleDeployerload in interface Deployer<SecurityContainer,DummyApplication>load in class SimpleDeployer<SecurityContainer,DummyApplication>container - in which the application will residecontext - of the deploymentpublic void unload(DummyApplication container, DeploymentContext context)
SimpleDeployerunload in interface Deployer<SecurityContainer,DummyApplication>unload in class SimpleDeployer<SecurityContainer,DummyApplication>container - instance to be stoppedcontext - of the undeploymentpublic MetaData getMetaData()
SimpleDeployergetMetaData in interface Deployer<SecurityContainer,DummyApplication>getMetaData in class SimpleDeployer<SecurityContainer,DummyApplication>public void loadPolicy(WebBundleDescriptor webDescriptor, boolean remove) throws DeploymentException
webDescriptor - remove - boolean indicated whether any existing policy statements are removed form context before translationDeploymentExceptionpublic static List<EventTypes> getDeploymentEvents()
Copyright © 2019. All rights reserved.