Author: sijskes Date: Mon Jan 10 13:32:48 2011 New Revision: 1057189 URL: http://svn.apache.org/viewvc?rev=1057189&view=rev Log: allow derivation for reggie implementations
Modified: incubator/river/jtsk/trunk/src/com/sun/jini/reggie/PersistentRegistrarImpl.java incubator/river/jtsk/trunk/src/com/sun/jini/reggie/TransientRegistrarImpl.java Modified: incubator/river/jtsk/trunk/src/com/sun/jini/reggie/PersistentRegistrarImpl.java URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/com/sun/jini/reggie/PersistentRegistrarImpl.java?rev=1057189&r1=1057188&r2=1057189&view=diff ============================================================================== --- incubator/river/jtsk/trunk/src/com/sun/jini/reggie/PersistentRegistrarImpl.java (original) +++ incubator/river/jtsk/trunk/src/com/sun/jini/reggie/PersistentRegistrarImpl.java Mon Jan 10 13:32:48 2011 @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.sun.jini.reggie; import com.sun.jini.start.LifeCycle; @@ -27,14 +28,14 @@ import java.rmi.activation.ActivationID; * * @author Sun Microsystems, Inc. */ -class PersistentRegistrarImpl extends RegistrarImpl { +public class PersistentRegistrarImpl extends RegistrarImpl { /** * Constructs a non-activatable PersistentRegistrarImpl based on a * configuration obtained using the provided arguments. If lifeCycle is * non-null, then its unregister method is invoked during service shutdown. */ - PersistentRegistrarImpl(String[] configArgs, LifeCycle lifeCycle) + protected PersistentRegistrarImpl(String[] configArgs, LifeCycle lifeCycle) throws Exception { super(configArgs, null, true, lifeCycle); 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=1057189&r1=1057188&r2=1057189&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 Mon Jan 10 13:32:48 2011 @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.sun.jini.reggie; import com.sun.jini.start.LifeCycle; @@ -24,14 +25,14 @@ import com.sun.jini.start.LifeCycle; * * @author Sun Microsystems, Inc. */ -class TransientRegistrarImpl extends RegistrarImpl { +public class TransientRegistrarImpl extends RegistrarImpl { /** * Constructs a TransientRegistrarImpl based on a configuration obtained * using the provided arguments. If lifeCycle is non-null, then its * unregister method is invoked during service shutdown. */ - TransientRegistrarImpl(String[] configArgs, LifeCycle lifeCycle) + protected TransientRegistrarImpl(String[] configArgs, LifeCycle lifeCycle) throws Exception { super(configArgs, null, false, lifeCycle);