Spec-Zone .ru
спецификации, руководства, описания, API


javax.enterprise.inject.spi
Interface AfterDeploymentValidation


public interface AfterDeploymentValidation

The event type of the third event fired by the container after it has validated that there are no deployment problems and before creating contexts or processing requests. If any observer method of the AfterDeploymentValidation event throws an exception, the exception is treated as a deployment problem by the container.

No requests will be processed by the deployment until all observers of this event return.

Author:
David Allen

Method Summary
 void addDeploymentProblem(java.lang.Throwable t)
          Registers a deployment problem with the container, causing the container to abort deployment after all observers have been notified.
 

Method Detail

addDeploymentProblem

void addDeploymentProblem(java.lang.Throwable t)
Registers a deployment problem with the container, causing the container to abort deployment after all observers have been notified.

Parameters:
t - The deployment problem as a Throwable


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

free hit counter