Skip to Content.
Sympa Menu

notify-dpml - r965 - trunk/main/metro/part/api/src/main/net/dpml/part/local

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r965 - trunk/main/metro/part/api/src/main/net/dpml/part/local
  • Date: Tue, 24 Jan 2006 16:17:04 +0100

Author: mcconnell
Date: 2006-01-24 16:17:04 +0100 (Tue, 24 Jan 2006)
New Revision: 965

Removed:
trunk/main/metro/part/api/src/main/net/dpml/part/local/Handler.java
trunk/main/metro/part/api/src/main/net/dpml/part/local/PartsManager.java
Log:
remove migrated classes

Deleted: trunk/main/metro/part/api/src/main/net/dpml/part/local/Handler.java
===================================================================
--- trunk/main/metro/part/api/src/main/net/dpml/part/local/Handler.java
2006-01-24 15:16:14 UTC (rev 964)
+++ trunk/main/metro/part/api/src/main/net/dpml/part/local/Handler.java
2006-01-24 15:17:04 UTC (rev 965)
@@ -1,53 +0,0 @@
-/*
- * Copyright 2005 Stephen J. McConnell.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- * implied.
- *
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.dpml.part.local;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.Map;
-
-import net.dpml.part.ControlException;
-import net.dpml.part.remote.Provider;
-
-/**
- * Local interface through which a component implementation may
- * interact with subsidary parts.
- *
- * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
- * @version @PROJECT-VERSION@
- */
-public interface Handler
-{
- /**
- * Return a mutible context map.
- *
- * @return the context map
- */
- Map getContextMap();
-
- /**
- * Return a reference to a managed provider.
- * @return the service provider
- * @exception InvocationTargetException if the component instantiation
process
- * is on demand and an target invocation error occurs
- * @exception ControlException if the component could not be established
due to a controller
- * related error
- */
- Provider getProvider() throws ControlException,
InvocationTargetException;
-}
-

Deleted:
trunk/main/metro/part/api/src/main/net/dpml/part/local/PartsManager.java
===================================================================
--- trunk/main/metro/part/api/src/main/net/dpml/part/local/PartsManager.java
2006-01-24 15:16:14 UTC (rev 964)
+++ trunk/main/metro/part/api/src/main/net/dpml/part/local/PartsManager.java
2006-01-24 15:17:04 UTC (rev 965)
@@ -1,82 +0,0 @@
-/*
- * Copyright 2005 Stephen J. McConnell.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- * implied.
- *
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.dpml.part.local;
-
-import net.dpml.part.ControlException;
-import net.dpml.part.remote.Component;
-import net.dpml.part.remote.Model;
-
-import net.dpml.lang.UnknownKeyException;
-
-/**
- * Local interface through which a component implementation may
- * interact with subsidary parts.
- *
- * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
- * @version @PROJECT-VERSION@
- */
-public interface PartsManager
-{
- /**
- * Return the array of keys used to idenetity internal parts.
- * @return the part key array
- */
- String[] getKeys();
-
- /**
- * Return an internal component.
- * @param key the internal component key
- * @return the component
- * @exception UnknownKeyException the key is not recognized
- */
- Component getComponent( String key ) throws UnknownKeyException;
-
- /**
- * Return the component model for the supplied component.
- * @param component the component
- * @return the component model
- */
- Model getComponentModel( Component component );
-
- /**
- * Return a local component handler.
- * @param key the internal part key
- * @return the local component handler
- * @exception UnknownKeyException the key is not recognized
- */
- Handler getComponentHandler( String key ) throws UnknownKeyException;
-
- /**
- * Return the commissioned state of the part collection.
- * @return true if commissioned else false
- */
- boolean isCommissioned();
-
- /**
- * Initiate the oprdered activation of all internal parts.
- * @exception ControlException if an activation error occurs
- */
- void commission() throws ControlException;
-
- /**
- * Initiate deactivation of all internal parts.
- */
- void decommission();
-}
-




  • r965 - trunk/main/metro/part/api/src/main/net/dpml/part/local, mcconnell at BerliOS, 01/24/2006

Archive powered by MHonArc 2.6.24.

Top of Page