KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > wsmgmt > lifecycle > reconfig > RegistryLocationEventListenerImpl


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 package com.sun.enterprise.admin.wsmgmt.lifecycle.reconfig;
24
25 import com.sun.enterprise.admin.event.wsmgmt.RegistryLocationEvent;
26 import com.sun.enterprise.admin.event.wsmgmt.RegistryLocationEventListener;
27
28 import com.sun.enterprise.admin.event.AdminEventListenerException;
29 import com.sun.enterprise.config.ConfigBean;
30 import com.sun.enterprise.config.ConfigContext;
31 import com.sun.enterprise.config.ConfigException;
32
33
34
35 /**
36  * Listener impl to handle web-service-endpoint/registry location
37  * element events.
38  */

39 public class RegistryLocationEventListenerImpl implements
40         RegistryLocationEventListener {
41
42     /**
43      * Handles web-service-endpoint/registry location element removal.
44      *
45      * @param event Event to be processed.
46      *
47      * @throws AdminEventListenerException when the listener is unable to
48      * process the event.
49      */

50     public void handleDelete(RegistryLocationEvent event)
51              throws AdminEventListenerException {
52     }
53
54     private void handleReconfiguration(RegistryLocationEvent event, boolean
55             takeOld, boolean isRemove)
56              throws AdminEventListenerException {
57     }
58
59
60
61     /**
62      * Handles web-service-endpoint/registry location element modification
63      * (attributes/properties values changed).
64      *
65      * @param event Event to be processed.
66      *
67      * @throws AdminEventListenerException when the listener is unable to
68      * process the event.
69      */

70     public void handleUpdate(RegistryLocationEvent event)
71              throws AdminEventListenerException {
72
73     }
74
75     /**
76      * Handles element additions.
77      *
78      * @param event Event to be processed.
79      *
80      * @throws AdminEventListenerException when the listener is unable to
81      * process the event.
82      */

83     public void handleCreate(RegistryLocationEvent event)
84              throws AdminEventListenerException {
85     }
86
87 }
88
Popular Tags