mcconnell 2004/01/01 05:05:05
Modified:
merlin/activation/impl/src/java/org/apache/avalon/activation/appliance/impl
AbstractBlock.java
Log:
Remove cruft.
Revision Changes Path
1.10 +1 -47
avalon/merlin/activation/impl/src/java/org/apache/avalon/activation/appliance/impl/AbstractBlock.java
Index: AbstractBlock.java
===================================================================
RCS file:
/home/cvs/avalon/merlin/activation/impl/src/java/org/apache/avalon/activation/appliance/impl/AbstractBlock.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- AbstractBlock.java 29 Dec 2003 14:31:21 -0000 1.9
+++ AbstractBlock.java 1 Jan 2004 13:05:05 -0000 1.10
@@ -180,40 +180,6 @@
return m_context.getContainmentModel();
}
- /**
- * Add a model as a child to this block.
- * @param url the model url
- * @return the appliance established to handle the model
- * @exception ApplianceException if a error occurs
- */
- //public Appliance addModel( URL url ) throws ApplianceException
- //{
- // try
- // {
- // return addModel(
- // getContainmentModel().addModel( url ) );
- // }
- // catch( Throwable e )
- // {
- // final String error =
- // "Cannot add model due to a model related error.";
- // throw new ApplianceException( error, e );
- // }
- //}
-
- /**
- * Add a model as a child to this block.
- * @param model the model to add as a child of the block
- * @return the appliance established to handle the model
- * @exception ApplianceException if a error occurs
- */
- //public Appliance addModel( Model model ) throws ApplianceException
- //{
- // Appliance appliance = createAppliance( model );
- // m_repository.addAppliance( appliance );
- // return appliance;
- //}
-
//-------------------------------------------------------------------
// CompositionEventListener
//-------------------------------------------------------------------
@@ -992,18 +958,6 @@
graph.add( appliance );
return appliance;
}
-
- /**
- * Remove an appliance.
- * @param model the component model
- * @return the appliance
- */
- //public void removeAppliance( String name ) throws ApplianceException
- //{
- // final Appliance appliance = getLocalAppliance( name );
- // m_context.getDependencyGraph().remove( appliance );
- // m_repository.removeAppliance( appliance );
- //}
//-------------------------------------------------------------------
// Object
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]