1/*2 * Copyright 2000-2002,2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */1617// package18packageorg.apache.jetspeed.services.statemanager;
1920// imports212223/***24* <p>SessionStateBindingListener is an interface for objects that wish to be25* notified when they are bound to and unbound from a SessionState managed by the26* Jetspeed SessionManagerService.</p>27* <p>This is loosely modeled on the HttpSessionBindingListener.</p>28* @version $Revision: 1.2 $29* @see org.apache.jetspeed.services.statemanager.StateManagerService30* @author <a href="mailto:ggolden@apache.org">Glenn R. Golden</a>31*/32publicinterfaceSessionStateBindingListener33 {
34/***35 * Accept notification that this object has been bound as a SessionState attribute.36 * @param sessionStateKey The id of the session state which holds the attribute.37 * @param attributeName The id of the attribute to which this object is now the value.38 */39publicvoid valueBound(String sessionStateKey, String attributeName);
4041/***42 * Accept notification that this object has been removed from a SessionState attribute.43 * @param sessionStateKey The id of the session state which held the attribute.44 * @param attributeName The id of the attribute to which this object was the value.45 */46publicvoid valueUnbound(String sessionStateKey, String attributeName);
4748 } // interface SessionStateBindingListener4950/***********************************************************************************51*52* $Header: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/statemanager/SessionStateBindingListener.java,v 1.2 2004/02/23 03:38:28 jford Exp $53*54**********************************************************************************/55