mcconnell    2003/04/12 19:40:47

  Modified:    merlin/merlin-spi/src/java/org/apache/avalon/merlin/block
                        Block.java
  Log:
  Removed methods not required on interface.
  
  Revision  Changes    Path
  1.3       +5 -20     
avalon-sandbox/merlin/merlin-spi/src/java/org/apache/avalon/merlin/block/Block.java
  
  Index: Block.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-sandbox/merlin/merlin-spi/src/java/org/apache/avalon/merlin/block/Block.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Block.java        10 Apr 2003 14:19:49 -0000      1.2
  +++ Block.java        13 Apr 2003 02:40:47 -0000      1.3
  @@ -64,6 +64,10 @@
    */
   public interface Block extends Appliance
   {
  +   /**
  +    * Key used to reference a block.
  +    */
  +    public static final String BLOCK_KEY = "urn:merlin:block";
   
      /**
       * Deploy the block during which appliances managed by the block
  @@ -72,25 +76,6 @@
       * @exception Exception if a deployment error occurs
       */
       void deploy() throws Exception;
  -
  -   /**
  -    * Return the set of locally managed appliance instances.
  -    * @return the set of appliance instances local to this block.
  -    */
  -    //public Appliance[] getAppliances();
  -
  -   /**
  -    * Return the set of blocks locally managed by this block.
  -    * @return the set of immediate sibling blocks.
  -    */
  -    //Block[] getBlocks();
  -
  -   /**
  -    * Return the set of appliance URLs for the entire block hierachy including the
  -    * URL of this block.
  -    * @return the set of urls
  -    */
  -    //URL[] getURLs();
   
      /**
       * Decommission the block.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to