org.apache.shale.dialog
Interface DialogContextManagerListener

All Known Implementing Classes:
AbstractDialogContextManagerListener

public interface DialogContextManagerListener

JavaBeans event listener for events on a DialogContextManager instance.

IMPLEMENTATION NOTE - Implementations of this interface will be stored in session scope, so they should be serializable.

Since:
1.0.4

Method Summary
 DialogContextManager getDialogContextManager()
          Return the DialogContextManager instance associated with this DialogContextManagerListener.
 void onCreate(DialogContext context)
          Handle the case where a new DialogContext instance has been created.
 void onRemove(DialogContext context)
          Handle the case where a new DialogContext instance has been removed.
 void setDialogContextManager(DialogContextManager manager)
          Set the DialogContextManager instance associated with this DialogContextManagerListener.
 

Method Detail

onCreate

void onCreate(DialogContext context)

Handle the case where a new DialogContext instance has been created. This event will be fired before the instance has been started; however, it is legitimate to do things like register fine grained listeners on this instance.

Parameters:
context - The DialogContext instance being created

onRemove

void onRemove(DialogContext context)

Handle the case where a new DialogContext instance has been removed. This event will be fired after the instance has been stopped; however, it is legitimate to do things like deregister fine grained listeners on this instance.

Parameters:
context - The DialogContext instance being created

getDialogContextManager

DialogContextManager getDialogContextManager()

Return the DialogContextManager instance associated with this DialogContextManagerListener.


setDialogContextManager

void setDialogContextManager(DialogContextManager manager)

Set the DialogContextManager instance associated with this DialogContextManagerListener.

Parameters:
manager - The new DialogContextManager


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.