001/** 002 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 003 * 004 * Copyright (c) 2005 Sun Microsystems Inc. All Rights Reserved 005 * 006 * The contents of this file are subject to the terms 007 * of the Common Development and Distribution License 008 * (the License). You may not use this file except in 009 * compliance with the License. 010 * 011 * You can obtain a copy of the License at 012 * https://opensso.dev.java.net/public/CDDLv1.0.html or 013 * opensso/legal/CDDLv1.0.txt 014 * See the License for the specific language governing 015 * permission and limitations under the License. 016 * 017 * When distributing Covered Code, include this CDDL 018 * Header Notice in each file and include the License file 019 * at opensso/legal/CDDLv1.0.txt. 020 * If applicable, add the following below the CDDL Header, 021 * with the fields enclosed by brackets [] replaced by 022 * your own identifying information: 023 * "Portions Copyrighted [year] [name of copyright owner]" 024 * 025 * $Id: AMEventListener.java,v 1.4 2008/06/25 05:41:20 qcheng Exp $ 026 * 027 */ 028 029package com.iplanet.am.sdk; 030 031/** 032 * <p> 033 * Represents the event listener interface that consumers of this API should 034 * implement and register with the SDK to receive Sun Java System Access Manager 035 * SDK notifications. 036 * <p> 037 * <b>NOTE: </b> It is recommended that the classes that implement this 038 * interface also implement {@link Object#equals Object.equals()} method if the 039 * default behavior of the method is not desired. 040 * 041 * @deprecated As of Sun Java System Access Manager 7.1. 042 * @supported.all.api 043 */ 044public interface AMEventListener extends java.util.EventListener { 045 /** 046 * Sun Java System Access Manager SDK invokes this method when any object or 047 * its contents change. 048 * 049 * @param event 050 * <code>AMEvent</code> object representing the 051 * <code>AMEvent.OBJECT_CHANGED</code> event. 052 */ 053 public void objectChanged(AMEvent event); 054 055 /** 056 * Sun Java System Access Manager SDK invokes this method when any object is 057 * removed. 058 * 059 * @param event 060 * <code>AMEvent</code> object representing the 061 * <code>AMEvent.OBJECT_REMOVED</code> event. 062 */ 063 public void objectRemoved(AMEvent event); 064 065 /** 066 * Sun Java System Access Manager SDK invokes this method when any object is 067 * renamed. 068 * 069 * @param event 070 * <code>AMEvent</code> object representing the 071 * <code>AMEvent.OBJECT_RENAMED</code> event. 072 */ 073 public void objectRenamed(AMEvent event); 074}
Copyright © 2010-2017, ForgeRock All Rights Reserved.