MUM.repositoryService
Class ComponentRepositoryExplorerItem

java.lang.Object
  extended bySOMA.explorer.ExplorerItem
      extended byMUM.repositoryService.ComponentRepositoryExplorerItem
All Implemented Interfaces:
java.io.Serializable

public class ComponentRepositoryExplorerItem
extends ExplorerItem

This class implements an explorer item, which in SOMA architecture is an executor for the available menu voices. In this case it can execute many operations: 1. add a new class to the component repository 2. delete a class from the component repository 3. update a class to a factory

See Also:
Serialized Form

Field Summary
 
Fields inherited from class SOMA.explorer.ExplorerItem
Syntax
 
Constructor Summary
ComponentRepositoryExplorerItem(ComponentRepositoryManager componentRepositoryManager)
          This constructor takes a ComponentRepositoryManager to whom it forwards the work to do .
 
Method Summary
 java.lang.Object Execute(java.util.Collection Parameters, java.io.PrintStream out)
          Esegue la voce di menu con i parametri specificati.
 
Methods inherited from class SOMA.explorer.ExplorerItem
Execute, getSyntax, Help, Help, setSyntax, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentRepositoryExplorerItem

public ComponentRepositoryExplorerItem(ComponentRepositoryManager componentRepositoryManager)
This constructor takes a ComponentRepositoryManager to whom it forwards the work to do .

Parameters:
componentRepositoryManager - the Manger who really does the work
Method Detail

Execute

public java.lang.Object Execute(java.util.Collection Parameters,
                                java.io.PrintStream out)
Description copied from class: ExplorerItem
Esegue la voce di menu con i parametri specificati. Questo e' il metodo che va ridefinito per creare un ExplorerItem non astratto. Esempio: LoadExplorerItem

Specified by:
Execute in class ExplorerItem
Parameters:
Parameters - parametri da utilizzare nell'esecuzione.
out - PrintStream a cui inviare l'output.
Returns:
un Object risultato della computazione eseguita.


Copyright © 2004 Luca Foschini