You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by si...@apache.org on 2011/01/11 09:58:55 UTC
svn commit: r1057526 -
/incubator/river/jtsk/trunk/src/com/sun/jini/reggie/TransientRegistrarImpl.java
Author: sijskes
Date: Tue Jan 11 08:58:55 2011
New Revision: 1057526
URL: http://svn.apache.org/viewvc?rev=1057526&view=rev
Log:
new service signature
Modified:
incubator/river/jtsk/trunk/src/com/sun/jini/reggie/TransientRegistrarImpl.java
Modified: incubator/river/jtsk/trunk/src/com/sun/jini/reggie/TransientRegistrarImpl.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/com/sun/jini/reggie/TransientRegistrarImpl.java?rev=1057526&r1=1057525&r2=1057526&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/src/com/sun/jini/reggie/TransientRegistrarImpl.java (original)
+++ incubator/river/jtsk/trunk/src/com/sun/jini/reggie/TransientRegistrarImpl.java Tue Jan 11 08:58:55 2011
@@ -19,6 +19,7 @@
package com.sun.jini.reggie;
import com.sun.jini.start.LifeCycle;
+import net.jini.config.Configuration;
/**
* Class for starting transient lookup services.
@@ -37,4 +38,20 @@ public class TransientRegistrarImpl exte
{
super(configArgs, null, false, lifeCycle);
}
+
+ /**
+ * Constructs a TransientRegistrarImpl based on the configuration argument
+ * If lifeCycle is non-null, then its
+ * unregister method is invoked during service shutdown.
+ *
+ * It has the new (Embedded)NonActivatableServiceDescriptor service signature.
+ *
+ * protected to signal it should be started via the ServiceStarter or derived.
+ */
+ protected TransientRegistrarImpl(Configuration config, LifeCycle lifeCycle)
+ throws Exception
+ {
+ super(config, null, false, lifeCycle);
+ }
+
}