net.dpml.transit.model
Interface TransitModel

All Superinterfaces:
Remote
All Known Implementing Classes:
DefaultTransitModel

public interface TransitModel
extends Remote

The TransitModel is an interface implemented by objects that maintain an active Tranist configuration.

Version:
1.0.0
Author:
The Digital Product Meta Library

Method Summary
 void addDisposalListener(DisposalListener listener)
          Add a disposal listener to the model.
 CacheModel getCacheModel()
          Return the cache model.
 ProxyModel getProxyModel()
          Return the proxy model.
 void removeDisposalListener(DisposalListener listener)
          Remove a disposal listener from the model.
 

Method Detail

getProxyModel

public ProxyModel getProxyModel()
                         throws RemoteException
Return the proxy model.

Returns:
the proxy model
Throws:
RemoteException - if a remote exception occurs

getCacheModel

public CacheModel getCacheModel()
                         throws RemoteException
Return the cache model.

Returns:
the cache model
Throws:
RemoteException - if a remote exception occurs

addDisposalListener

public void addDisposalListener(DisposalListener listener)
                         throws RemoteException
Add a disposal listener to the model.

Parameters:
listener - the listener to add
Throws:
RemoteException - if a remote exception occurs

removeDisposalListener

public void removeDisposalListener(DisposalListener listener)
                            throws RemoteException
Remove a disposal listener from the model.

Parameters:
listener - the listener to remove
Throws:
RemoteException - if a remote exception occurs