notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1558 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1558 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime
- Date: Sun, 16 Jul 2006 06:10:11 +0200
Author: mcconnell
Date: 2006-07-16 06:10:11 +0200 (Sun, 16 Jul 2006)
New Revision: 1558
Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultComponentModel.java
Log:
Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultComponentModel.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultComponentModel.java
2006-07-16 04:09:56 UTC (rev 1557)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultComponentModel.java
2006-07-16 04:10:11 UTC (rev 1558)
@@ -33,6 +33,9 @@
import net.dpml.lang.Classpath;
+import net.dpml.metro.ComponentModel;
+import net.dpml.metro.ContextModel;
+
import net.dpml.metro.data.ComponentDirective;
import net.dpml.metro.data.ContextDirective;
import net.dpml.metro.data.CategoriesDirective;
@@ -43,12 +46,8 @@
import net.dpml.metro.info.Type;
import net.dpml.metro.info.PartReference;
-import net.dpml.metro.ContextModel;
-import net.dpml.metro.ComponentModelManager;
-import net.dpml.metro.ContextModelManager;
-
-import net.dpml.util.Logger;
import net.dpml.util.EventQueue;
+import net.dpml.util.Logger;
/**
* Default implementation of a mutable component model.
@@ -57,7 +56,7 @@
* @version @PROJECT-VERSION@
*/
class DefaultComponentModel extends UnicastEventSource
- implements ComponentModelManager
+ implements ComponentModel
{
//
------------------------------------------------------------------------
// state
@@ -427,24 +426,6 @@
}
/**
- * Return the context manager.
- * @return the context manager
- */
- public ContextModelManager getContextManager()
- {
- if( m_context instanceof ContextModelManager )
- {
- return (ContextModelManager) m_context;
- }
- else
- {
- final String error =
- "Cannot cast context model to the manager interface.";
- throw new IllegalStateException( error );
- }
- }
-
- /**
* Return the component logging categories.
* @return the categories
* @exception RemoteException if a remote exception occurs
- r1558 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime, mcconnell at BerliOS, 07/16/2006
Archive powered by MHonArc 2.6.24.