hammant 02/01/09 13:08:37
Modified: altrmi/src/java/org/apache/commons/altrmi/client
AltrmiFactory.java
Added: altrmi/src/java/org/apache/commons/altrmi/client
AltrmiInterfaceLookup.java
Log:
refactor of one interface into two.
Revision Changes Path
1.2 +2 -16
jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client/AltrmiFactory.java
Index: AltrmiFactory.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client/AltrmiFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AltrmiFactory.java 9 Jan 2002 19:25:53 -0000 1.1
+++ AltrmiFactory.java 9 Jan 2002 21:08:37 -0000 1.2
@@ -17,23 +17,9 @@
*
*
* @author Paul Hammant <a
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
-public interface AltrmiFactory {
-
-
- /**
- * Method lookup
- *
- *
- * @param publishedServiceName
- *
- * @return
- *
- * @throws AltrmiConnectionException
- *
- */
- Object lookup(String publishedServiceName) throws AltrmiConnectionException;
+public interface AltrmiFactory extends AltrmiInterfaceLookup {
/**
* Method setHostContext
1.1
jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client/AltrmiInterfaceLookup.java
Index: AltrmiInterfaceLookup.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/package org.apache.commons.altrmi.client;
import org.apache.commons.altrmi.client.impl.ClientClassAltrmiFactory;
import org.apache.commons.altrmi.common.AltrmiConnectionException;
/**
* Interface AltrmiFactory
*
*
* @author Paul Hammant <a
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
* @version $Revision: 1.1 $
*/
public interface AltrmiInterfaceLookup {
/**
* Method lookup
*
*
* @param publishedServiceName
*
* @return
*
* @throws AltrmiConnectionException
*
*/
Object lookup(String publishedServiceName) throws AltrmiConnectionException;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>