hammant 02/01/14 05:17:32
Modified:
apps/demo/src/java/org/apache/avalon/cornerstone/demos/altrmihelloworldserver
AltrmiHelloWorldServerImpl.java
Log:
phase this block out for the sake of the AutoPublisher
Revision Changes Path
1.2 +10 -1
jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/altrmihelloworldserver/AltrmiHelloWorldServerImpl.java
Index: AltrmiHelloWorldServerImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-cornerstone/apps/demo/src/java/org/apache/avalon/cornerstone/demos/altrmihelloworldserver/AltrmiHelloWorldServerImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AltrmiHelloWorldServerImpl.java 13 Jan 2002 10:35:17 -0000 1.1
+++ AltrmiHelloWorldServerImpl.java 14 Jan 2002 13:17:31 -0000 1.2
@@ -30,6 +30,13 @@
* addition of this block and suitably assembled, the HelloWorld
* application is given more life.
*
+ ************************************************************
+ ************************************************************
+ *
+ * This is being phased out in favour of AutoPublisher
+ *
+ ************************************************************
+ ************************************************************
*
* @author <a href="mailto:[EMAIL PROTECTED]">Paul Hammant</a>
* @version 1.0
@@ -48,7 +55,9 @@
protected String publicationName;
public void initialize() throws Exception {
- mAltrmiPublisher.publish(mHelloWorldServer, publicationName,
HelloWorldServer.class);
+
+ // being phased out.
+ //mAltrmiPublisher.publish(mHelloWorldServer, publicationName,
HelloWorldServer.class);
getLogger().info("HelloWorldServer published as " + publicationName);
// This is only to help newbies.....
System.out.println("AltrmiHelloWorld server running. Use
AltrmiHelloWorldTester to connect to it to test it");
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>