You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ha...@apache.org on 2002/05/12 12:52:47 UTC
cvs commit: jakarta-avalon-apps/xcommander/src/java/org/apache/avalon/xcommander XCommanderServer.java
hammant 02/05/12 03:52:47
Modified: xcommander/src/java/org/apache/avalon/xcommander
XCommanderServer.java
Added: xcommander/lib avalon-framework.jar
Removed: xcommander/lib avalon-framework-4.1.2.jar
Log:
compose(..) becomes service(..)
Revision Changes Path
1.1 jakarta-avalon-apps/xcommander/lib/avalon-framework.jar
<<Binary file>>
1.4 +8 -8 jakarta-avalon-apps/xcommander/src/java/org/apache/avalon/xcommander/XCommanderServer.java
Index: XCommanderServer.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-apps/xcommander/src/java/org/apache/avalon/xcommander/XCommanderServer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XCommanderServer.java 8 Jan 2002 07:45:58 -0000 1.3
+++ XCommanderServer.java 12 May 2002 10:52:47 -0000 1.4
@@ -16,9 +16,9 @@
import java.util.Iterator;
import org.apache.avalon.framework.activity.Initializable;
import org.apache.avalon.framework.component.Component;
-import org.apache.avalon.framework.component.ComponentException;
-import org.apache.avalon.framework.component.ComponentManager;
-import org.apache.avalon.framework.component.Composable;
+import org.apache.avalon.framework.service.ServiceException;
+import org.apache.avalon.framework.service.ServiceManager;
+import org.apache.avalon.framework.service.Serviceable;
import org.apache.avalon.framework.configuration.Configurable;
import org.apache.avalon.framework.configuration.Configuration;
import org.apache.avalon.framework.configuration.ConfigurationException;
@@ -43,7 +43,7 @@
*/
public class XCommanderServer
extends AbstractLogEnabled
- implements Block, Composable, Configurable, Initializable,
+ implements Block, Serviceable, Configurable, Initializable,
ConnectionHandlerFactory, XCommanderService, CommandHandler
{
// block stuff
@@ -55,11 +55,11 @@
protected HashMap m_xcommands;
// BLOCK METHODS
- public void compose( final ComponentManager componentManager )
- throws ComponentException
+ public void service( final ServiceManager serviceManager )
+ throws ServiceException
{
- m_socketManager = (SocketManager)componentManager.lookup( SocketManager.ROLE );
- m_connectionManager = (ConnectionManager)componentManager.lookup( ConnectionManager.ROLE );
+ m_socketManager = (SocketManager)serviceManager.lookup( SocketManager.ROLE );
+ m_connectionManager = (ConnectionManager)serviceManager.lookup( ConnectionManager.ROLE );
}
public void configure( final Configuration configuration )
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>