org.glassfish.internal.deployment
Interface ApplicationLifecycleInterceptor


@Contract
public interface ApplicationLifecycleInterceptor

This class provides a call back mechanism at different points of the application lifecycle.


Method Summary
 void after(ExtendedDeploymentContext.Phase phase, ExtendedDeploymentContext context)
          Provide call back after a certain phase of the application lifecycle
 void before(ExtendedDeploymentContext.Phase phase, ExtendedDeploymentContext context)
          Provide call back before a certain phase of the application lifecycle
 

Method Detail

before

void before(ExtendedDeploymentContext.Phase phase,
            ExtendedDeploymentContext context)
Provide call back before a certain phase of the application lifecycle

Parameters:
phase - the application lifecycle phase which the call back will happen before
context - the deployment context

after

void after(ExtendedDeploymentContext.Phase phase,
           ExtendedDeploymentContext context)
Provide call back after a certain phase of the application lifecycle

Parameters:
phase - the application lifecycle phase which the call back will happen after
context - the deployment context


Copyright © 2012. All Rights Reserved.