KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > config > ConfigContextEventListener


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24
25
26 /**
27
28  * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
29
30  *
31
32  * Copyright 2001-2002 by iPlanet/Sun Microsystems, Inc.,
33
34  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
35
36  * All rights reserved.
37
38  */

39
40 package com.sun.enterprise.config;
41
42
43
44 import java.util.EventListener JavaDoc;
45
46
47
48 /**
49
50  * This is a class for all configcontext change event listeners.
51
52  */

53
54 public interface ConfigContextEventListener extends EventListener JavaDoc {
55
56     
57
58     /**
59
60      * before config add, delete, set, update or flush. type is in ccce
61
62      */

63
64     void preChangeNotification(ConfigContextEvent ccce);
65
66     
67
68     /**
69
70      * after config add, delete, set, update or flush. type is in ccce
71
72      */

73
74     void postChangeNotification(ConfigContextEvent ccce);
75
76     
77
78     /**
79
80      * before config add, delete, set, update or flush. type is in ccce
81
82      */

83
84     void preAccessNotification(ConfigContextEvent ccce);
85
86     
87
88     /**
89
90      * after config add, delete, set, update or flush. type is in ccce
91
92      */

93
94     void postAccessNotification(ConfigContextEvent ccce);
95
96 }
97
98
Popular Tags