--- old/jaxws/src/java.xml.ws.annotation/share/classes/javax/annotation/PostConstruct.java 2017-02-14 14:25:13.880026686 +0300
+++ new/jaxws/src/java.xml.ws.annotation/share/classes/javax/annotation/PostConstruct.java 2017-02-14 14:25:13.784026073 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -30,21 +30,22 @@
import static java.lang.annotation.RetentionPolicy.*;
/**
- * The PostConstruct annotation is used on a method that needs to be executed
- * after dependency injection is done to perform any initialization. This
- * method MUST be invoked before the class is put into service. This
- * annotation MUST be supported on all classes that support dependency
- * injection. The method annotated with PostConstruct MUST be invoked even
- * if the class does not request any resources to be injected. Only one
- * method can be annotated with this annotation. The method on which the
- * PostConstruct annotation is applied MUST fulfill all of the following
- * criteria:
+ * The PostConstruct
annotation is used on a method that
+ * needs to be executed after dependency injection is done to perform
+ * any initialization. This method must be invoked before the class
+ * is put into service. This annotation must be supported on all classes
+ * that support dependency injection. The method annotated with
+ * PostConstruct
must be invoked even if the class does
+ * not request any resources to be injected. Only one
+ * method in a given class can be annotated with this annotation.
+ * The method on which the PostConstruct
annotation is
+ * applied must fulfill all of the following criteria:
*
InvocationContext
+ * object as defined by the Interceptors specification.* void <METHOD>(InvocationContext) *
@@ -57,18 +58,18 @@ * PostConstruct interceptor method returns a value, it is ignored by * the container. *
* void <METHOD>() *
PostConstruct
annotation
+ * is applied may be public, protected, package private or private.