net.dpml.transit.model
Interface CodeBaseModel

All Superinterfaces:
Remote
All Known Subinterfaces:
LayoutModel

public interface CodeBaseModel
extends Remote

A CodeBaseModel maintains information about the configuration of a pluggable subsystem.

Version:
1.0.3
Author:
Digital Product Meta Library

Method Summary
 void addCodeBaseListener(CodeBaseListener listener)
          Add a codebase listener to the model.
 URI getCodeBaseURI()
          Return the uri of the plugin to be used for the subsystem.
 Value[] getParameters()
          Return the array of codebase parameter values.
 void removeCodeBaseListener(CodeBaseListener listener)
          Remove a codebase listener from the model.
 

Method Detail

getCodeBaseURI

URI getCodeBaseURI()
                   throws RemoteException
Return the uri of the plugin to be used for the subsystem.

Returns:
the codebase plugin uri
Throws:
RemoteException - if a remote exception occurs

addCodeBaseListener

void addCodeBaseListener(CodeBaseListener listener)
                         throws RemoteException
Add a codebase listener to the model.

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

removeCodeBaseListener

void removeCodeBaseListener(CodeBaseListener listener)
                            throws RemoteException
Remove a codebase listener from the model.

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

getParameters

Value[] getParameters()
                      throws RemoteException
Return the array of codebase parameter values.

Returns:
the parameter value array
Throws:
RemoteException - if a remote exception occurs