net.dpml.transit.model
Interface HostListener

All Superinterfaces:
EventListener, Remote

public interface HostListener
extends EventListener, Remote

The HostListener is an interface implmented by resource host implementation. The interface declares host change notification methods that is invoked by a host model following one or more changes to the host configuration.

Version:
1.0.1
Author:
Digital Product Meta Library

Method Summary
 void hostChanged(HostChangeEvent event)
          Notify a consumer of an aggregated set of changes concerning the base url, index, request identifier and/or authentication.
 void layoutChanged(HostLayoutEvent event)
          Notify a consumer of a change to the host layout.
 void nameChanged(HostNameEvent event)
          Notify a consumer of the change to the host name.
 void priorityChanged(HostPriorityEvent event)
          Notify a consumer of a change to the host priority.
 

Method Detail

nameChanged

public void nameChanged(HostNameEvent event)
                 throws RemoteException
Notify a consumer of the change to the host name.

Parameters:
event - the host name change event
Throws:
RemoteException - if a remote exception occurs

hostChanged

public void hostChanged(HostChangeEvent event)
                 throws RemoteException
Notify a consumer of an aggregated set of changes concerning the base url, index, request identifier and/or authentication.

Parameters:
event - the host change event
Throws:
RemoteException - if a remote exception occurs

priorityChanged

public void priorityChanged(HostPriorityEvent event)
                     throws RemoteException
Notify a consumer of a change to the host priority.

Parameters:
event - the host priority event
Throws:
RemoteException - if a remote exception occurs

layoutChanged

public void layoutChanged(HostLayoutEvent event)
                   throws RemoteException
Notify a consumer of a change to the host layout.

Parameters:
event - the host layout change event
Throws:
RemoteException - if a remote exception occurs