Author: gtrasuk Date: Thu Dec 11 20:51:15 2014 New Revision: 1644761 URL: http://svn.apache.org/r1644761 Log: The 'Start' module in river-rt-tools now builds its JavaDoc without error.
I never would have guessed there could be so many fatal errors in comments! Added: river/river-rt-tools/trunk/start/ (with props) river/river-rt-tools/trunk/start/pom.xml river/river-rt-tools/trunk/start/src/ river/river-rt-tools/trunk/start/src/main/ river/river-rt-tools/trunk/start/src/main/java/ river/river-rt-tools/trunk/start/src/main/java/org/ river/river-rt-tools/trunk/start/src/main/java/org/apache/ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ActivateWrapper.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ActivateWrapper.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/AggregatePolicyProvider.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/AggregatePolicyProvider.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ClassLoaderUtil.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ClassLoaderUtil.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/Config.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/config/Config.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/DestroySharedGroup.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/DestroySharedGroup.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/FileSystem.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/system/FileSystem.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/HTTPDStatus.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/HTTPDStatus.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LifeCycle.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/LifeCycle.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LoaderSplitPolicyProvider.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/LoaderSplitPolicyProvider.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/NonActivatableServiceDescriptor.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/NonActivatableServiceDescriptor.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ProxyVerifier.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ProxyVerifier.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceDescriptor.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceDescriptor.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceProxyAccessor.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceProxyAccessor.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceStarter.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceStarter.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivatableServiceDescriptor.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivatableServiceDescriptor.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationGroupDescriptor.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivationGroupDescriptor.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationPolicyPermission.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivationPolicyPermission.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroup.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroup.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupBackEnd.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroupBackEnd.java river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupImpl.java - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroupImpl.java river/river-rt-tools/trunk/start/src/test/ Propchange: river/river-rt-tools/trunk/start/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Thu Dec 11 20:51:15 2014 @@ -0,0 +1 @@ +target Added: river/river-rt-tools/trunk/start/pom.xml URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/pom.xml?rev=1644761&view=auto ============================================================================== --- river/river-rt-tools/trunk/start/pom.xml (added) +++ river/river-rt-tools/trunk/start/pom.xml Thu Dec 11 20:51:15 2014 @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.river.tools.rt</groupId> + <artifactId>river-rt-tools</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + <groupId>org.apache.river.tools.rt</groupId> + <artifactId>start</artifactId> + <version>1.0-SNAPSHOT</version> + <name>start</name> + <url>http://maven.apache.org</url> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>net.jini</groupId> + <artifactId>jsk-platform</artifactId> + <version>2.2.2</version> + </dependency> + </dependencies> +</project> Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ActivateWrapper.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ActivateWrapper.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ActivateWrapper.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ActivateWrapper.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/ActivateWrapper.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/ActivateWrapper.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ActivateWrapper.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import net.jini.export.ProxyAccessor; import net.jini.id.Uuid; @@ -72,9 +72,9 @@ import java.util.logging.Logger; * This wrapper class performs a security check to control what * policy files can be used with a given codebase. * It does this by querying the VM's (global) policy for - * {@link com.sun.jini.start.SharedActivationPolicyPermission} + * {@link org.apache.river.tools.rt.start.SharedActivationPolicyPermission} * grants. The service's associated - * {@link com.sun.jini.start.ActivateWrapper.ActivateDesc#importLocation + * {@link org.apache.river.tools.rt.start.ActivateWrapper.ActivateDesc#importLocation * ActivateDesc.importLocation} is used as * the {@link java.security.CodeSource} * for selecting the appropriate permission set to @@ -99,12 +99,12 @@ import java.util.logging.Logger; * true, * activationSystem); * </pre> - * <A NAME="serviceConstructor"> + * <A NAME="serviceConstructor"></A> * Clients of this wrapper service need to implement the following "activation * constructor": * <blockquote><pre> * <impl>(ActivationID activationID, MarshalledObject data) - * </blockquote></pre> + * </pre></blockquote> * where, * <UL> * <LI>activationID - is the object's activation identifier @@ -115,7 +115,7 @@ import java.util.logging.Logger; * {@link net.jini.export.ProxyAccessor}, which allows the service * implementation to provide a remote reference of its choosing. * <P> - * <A NAME="configEntries"> + * <A NAME="configEntries"></A> * This implementation of <code>ActivateWrapper</code> * supports the * following {@link java.security.Security} property: @@ -124,14 +124,14 @@ import java.util.logging.Logger; * security property" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * com.sun.jini.start.servicePolicyProvider</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">•</th> + * <th scope="col" align="left" colspan="2"><code> + * com.sun.jini.start.servicePolicyProvider</code></th> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code> * "net.jini.security.policy.DynamicPolicyProvider" * </code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The fully qualified class name of a * dynamic policy provider (see {@link net.jini.security.policy.DynamicPolicy}) * which will be used to "wrap" all service policy files. @@ -140,13 +140,14 @@ import java.util.logging.Logger; * <LI> implement the following constructor: * <blockquote><pre> * public <impl>(Policy servicePolicy) - * </blockquote></pre> + * </pre></blockquote> * where, * <UL> - * <LI>servicePolicy - is the service policy object to be wrapped + * <LI>servicePolicy - is the service policy object to be wrapped</LI> * </UL> - * <LI> implement {@link net.jini.security.policy.DynamicPolicy} - * <LI> be a public, non-interface, non-abstract class + * </LI> + * <LI> implement {@link net.jini.security.policy.DynamicPolicy}</LI> + * <LI> be a public, non-interface, non-abstract class</LI> * </UL> * * <P> @@ -164,14 +165,13 @@ import java.util.logging.Logger; * {@link java.security.AllPermission}. * </table> * - * @see com.sun.jini.start.SharedActivationPolicyPermission + * @see SharedActivationPolicyPermission * @see java.rmi.activation.ActivationID * @see java.rmi.MarshalledObject * @see java.rmi.Remote * @see java.security.CodeSource * @see net.jini.export.ProxyAccessor * - * @author Sun Microsystems, Inc. * */ @@ -260,9 +260,6 @@ public class ActivateWrapper implements */ public final MarshalledObject data; - /** - * Trivial constructor. - */ public ActivateDesc(String className, URL[] importLocation, URL[] exportLocation, @@ -379,11 +376,12 @@ public class ActivateWrapper implements * * @param id The <code>ActivationID</code> of this object * @param data The activation data for this object + * @throws java.lang.Exception in case of any error creating the wrapper. * - * @see com.sun.jini.start.ActivateWrapper.ExportClassLoader - * @see com.sun.jini.start.ActivateWrapper.ActivateDesc - * @see com.sun.jini.start.AggregatePolicyProvider - * @see com.sun.jini.start.SharedActivationPolicyPermission + * @see org.apache.river.tools.rt.start.ActivateWrapper.ExportClassLoader + * @see org.apache.river.tools.rt.start.ActivateWrapper.ActivateDesc + * @see org.apache.river.tools.rt.start.AggregatePolicyProvider + * @see org.apache.river.tools.rt.start.SharedActivationPolicyPermission * @see java.security.Policy * */ @@ -487,7 +485,7 @@ public class ActivateWrapper implements } - /** + /* * Return a reference to service being wrapped in place * of this object. */ @@ -511,6 +509,11 @@ public class ActivateWrapper implements * Activatable.register()} for activatable objects that want * to use this wrapper mechanism. * + * @param gid The activation group id. + * @param desc Activation description. + * @param restart restart value. + * @param sys The activation system. + * * @return activation ID of the registered service * * @throws ActivationException if there was a problem registering Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/AggregatePolicyProvider.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/AggregatePolicyProvider.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/AggregatePolicyProvider.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/AggregatePolicyProvider.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/AggregatePolicyProvider.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/AggregatePolicyProvider.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/AggregatePolicyProvider.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import com.sun.jini.collection.WeakIdentityMap; import java.lang.reflect.Method; Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ClassLoaderUtil.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ClassLoaderUtil.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ClassLoaderUtil.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ClassLoaderUtil.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/ClassLoaderUtil.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/ClassLoaderUtil.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ClassLoaderUtil.java Thu Dec 11 20:51:15 2014 @@ -15,7 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import java.io.File; import java.io.IOException; @@ -63,7 +63,7 @@ public class ClassLoaderUtil { * * @throws java.net.MalformedURLException * If the path cannot be parsed as a URL - * @throws java.net.IOException + * @throws java.io.IOException * If an I/O error occurs, * which is possible because the construction of * the canonical pathname may require filesystem queries @@ -92,7 +92,7 @@ public class ClassLoaderUtil { * each element of the array corresponds to one of the components * in the <code>codebase</code> parameter * - * @throws java.net.MalformedURLException + * @throws java.net.MalformedURLException In the case of a bad URL. */ public static URL[] getCodebaseURLs(String codebase) throws MalformedURLException @@ -121,7 +121,7 @@ public class ClassLoaderUtil { * * @throws java.net.MalformedURLException * If the path cannot be parsed as a URL - * @throws java.net.IOException + * @throws java.io.IOException * If an I/O error occurs, * which is possible because the construction of * the canonical pathname may require filesystem queries Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/Config.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/config/Config.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/Config.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/Config.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/config/Config.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/config/Config.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/Config.java Thu Dec 11 20:51:15 2014 @@ -15,7 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.sun.jini.config; +package org.apache.river.tools.rt.start; import java.util.logging.Level; import java.util.logging.Logger; @@ -30,7 +30,7 @@ import net.jini.config.ConfigurationExce * <code>net.jini.config</code> to log information at * the following logging levels: * - * <table border=1 cellpadding=5> + * <table border=1 cellpadding=5 summary="Loggers"> * * <tr> <th> Level <th> Description * @@ -70,8 +70,6 @@ public class Config { * @return a non-<code>null</code> object obtained from * calling <code>config.getEntry</code> using * the other passed arguments - * @throws NoSuchEntryException if the underlying call to - * <code>config.getEntry</code> does * @throws ConfigurationException if the underlying call to * <code>config.getEntry</code> does, or if the * returned entry is <code>null</code>. @@ -112,8 +110,6 @@ public class Config { * @return a non-<code>null</code> object obtained from * calling <code>config.getEntry</code> using * the other passed arguments - * @throws NoSuchEntryException if the underlying call to - * <code>config.getEntry</code> does * @throws ConfigurationException if the underlying call to * <code>config.getEntry</code> does, or if the * returned entry is <code>null</code>. @@ -160,8 +156,6 @@ public class Config { * @return a non-<code>null</code> object obtained from * calling <code>config.getEntry</code> using * the other passed arguments - * @throws NoSuchEntryException if the underlying call to - * <code>config.getEntry</code> does * @throws ConfigurationException if the underlying call to * <code>config.getEntry</code> does, or if the * returned entry is <code>null</code>. @@ -253,8 +247,6 @@ public class Config { * @return a long obtained from calling <code>config.getEntry</code> * using <code>component</code>, <code>name</code>, * and <code>defaultValue</code>. - * @throws NoSuchEntryException if the underlying call to - * <code>config.getEntry</code> does * @throws ConfigurationException if the underlying call to * <code>config.getEntry</code> does, or if the * returned entry is <code>null</code>, or if @@ -322,8 +314,6 @@ public class Config { * @return a int obtained from calling <code>config.getEntry</code> * using <code>component</code>, <code>name</code>, * and <code>defaultValue</code>. - * @throws NoSuchEntryException if the underlying call to - * <code>config.getEntry</code> does * @throws ConfigurationException if the underlying call to * <code>config.getEntry</code> does, or if the * returned entry is <code>null</code>, or if @@ -391,8 +381,6 @@ public class Config { * @return a float obtained from calling <code>config.getEntry</code> * using <code>component</code>, <code>name</code>, * and <code>defaultValue</code>. - * @throws NoSuchEntryException if the underlying call to - * <code>config.getEntry</code> does * @throws ConfigurationException if the underlying call to * <code>config.getEntry</code> does, or if the * returned entry is <code>null</code>, or if Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/DestroySharedGroup.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/DestroySharedGroup.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/DestroySharedGroup.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/DestroySharedGroup.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/DestroySharedGroup.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/DestroySharedGroup.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/DestroySharedGroup.java Thu Dec 11 20:51:15 2014 @@ -16,9 +16,8 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; -import com.sun.jini.start.SharedActivatableServiceDescriptor.Created; import net.jini.config.Configuration; import net.jini.config.ConfigurationProvider; import net.jini.config.ConfigurationException; @@ -34,8 +33,7 @@ import java.util.logging.Logger; import javax.security.auth.login.LoginContext; import javax.security.auth.login.LoginException; import javax.security.auth.Subject; - -import com.sun.jini.system.FileSystem; +import org.apache.river.tools.rt.start.SharedActivatableServiceDescriptor.Created; /** * This class contains the command-line interface for @@ -47,27 +45,26 @@ import com.sun.jini.system.FileSystem; * <li><a href="#logging">Logging</a> * </ul> * - * <a name="configEntries"> + * <a name="configEntries"></a> * <h3>Configuring DestroySharedGroup</h3> - * </a> - * + * * This implementation of <code>DestroySharedGroup</code> supports the * following configuration entries, with component - * <code>com.sun.jini.start</code>: + * <code>org.apache.river.tools.rt.start</code>: * * <table summary="Describes the activationSystemPreparer configuration * entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * activationSystemPreparer</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * activationSystemPreparer</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link net.jini.security.ProxyPreparer} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code> * new {@link net.jini.security.BasicProxyPreparer}()</code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The proxy preparer for the proxy for the * activation system. The value should not be <code>null</code>. This * entry is obtained at service start and restart. This entry is only @@ -83,14 +80,14 @@ import com.sun.jini.system.FileSystem; * <table summary="Describes the loginContext configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * loginContext</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * loginContext</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link javax.security.auth.login.LoginContext} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code>null</code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> If not <code>null</code>, specifies the JAAS * login context to use for performing a JAAS login and supplying the * {@link javax.security.auth.Subject} to use when running the @@ -100,35 +97,35 @@ import com.sun.jini.system.FileSystem; * <table summary="Describes the serviceDestructors configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * serviceDestructors</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * serviceDestructors</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link ServiceDescriptor}[] - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: no default - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> Array of service descriptors to start. * </table> * * - *<a name="logging"> + *<a name="logging"></a> *<h3>Loggers and Logging Levels</h3> - *</a> + * * *The DestroySharedGroup service implementation uses the {@link *java.util.logging.Logger}, named - * <code>com.sun.jini.start.service.starter</code>. + * <code>org.apache.river.tools.rt.start.service.starter</code>. *The following table describes the *type of information logged as well as the levels of information logged. - *<p> + * * * <table border="1" cellpadding="5" * summary="Describes logging performed by service.starter at different * logging levels"> * - * <caption halign="center" valign="top"><b><code> - * com.sun.jini.start.service.starter</code></b></caption> + * <caption><b><code> + * org.apache.river.tools.rt.start.service.starter</code></b></caption> * * <tr> <th scope="col"> Level <th scope="col"> Description * @@ -148,7 +145,7 @@ import com.sun.jini.system.FileSystem; * * @author Sun Microsystems, Inc. * - * @see com.sun.jini.start.ServiceStarter + * @see org.apache.river.tools.rt.start.ServiceStarter * * @since 1.2 */ @@ -166,10 +163,10 @@ public class DestroySharedGroup { * <code>ConfigurationProvider.getInstance()</code> in order to * obtain a <code>Configuration</code> object. This configuration * object is then queried for a - * <code>com.sun.jini.start.serviceDestructors</code> entry, which + * <code>org.apache.river.tools.rt.start.serviceDestructors</code> entry, which * is assumed to be a <code>SharedActivatableServiceDescriptor[]</code> - * configured to run {@link com.sun.jini.start.SharedGroup} implementations. - * The {@link com.sun.jini.start.SharedGroup#destroyVM() destroyVM()} + * configured to run {@link org.apache.river.tools.rt.start.SharedGroup} implementations. + * The {@link org.apache.river.tools.rt.start.SharedGroup#destroyVM() destroyVM()} * method is then called on each of the array elements. An attempt is * made to also delete shared group <code>log</code> directory associated * with each array element. Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/FileSystem.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/system/FileSystem.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/FileSystem.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/FileSystem.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/system/FileSystem.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/system/FileSystem.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/FileSystem.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.system; +package org.apache.river.tools.rt.start; import java.io.File; import java.io.IOException; @@ -37,6 +37,7 @@ public class FileSystem { * subdirectories. If the named file does not exist, * <code>destroy</code> simply returns. * + * @param file the file to destroy. * @param proceed * Proceed in the face of errors; otherwise the first error stops * the execution of the method. @@ -98,6 +99,7 @@ public class FileSystem { * <code>File.mkdirs</code> to create the directory along with any * intermediate paths. * + * @param path the path to ensure it exists. * @throws IllegalArgumentException * if the path already exists but is not a * directory, or it does not exist and cannot be created. Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/HTTPDStatus.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/HTTPDStatus.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/HTTPDStatus.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/HTTPDStatus.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/HTTPDStatus.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/HTTPDStatus.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/HTTPDStatus.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import java.net.MalformedURLException; import java.net.URL; Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LifeCycle.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/LifeCycle.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LifeCycle.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LifeCycle.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/LifeCycle.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/LifeCycle.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LifeCycle.java Thu Dec 11 20:51:15 2014 @@ -16,20 +16,20 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; /** * The interface used to manage the lifecycle of shared, non-activatable * services started by the - * {@linkplain com.sun.jini.start service starter}. Services + * {@linkplain org.apache.river.tools.rt.start service starter}. Services * started via a - * {@link com.sun.jini.start.NonActivatableServiceDescriptor} get passed a + * {@link org.apache.river.tools.rt.start.NonActivatableServiceDescriptor} get passed a * reference to a <code>LifeCycle</code> object, which can be used by the * server to inform the hosting environment that it can release any resources * associated with the server (presumably because the server is terminating). * - * @see com.sun.jini.start.NonActivatableServiceDescriptor - * @see com.sun.jini.start.ServiceStarter + * @see org.apache.river.tools.rt.start.NonActivatableServiceDescriptor + * @see org.apache.river.tools.rt.start.ServiceStarter * * @author Sun Microsystems, Inc. * Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LoaderSplitPolicyProvider.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/LoaderSplitPolicyProvider.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LoaderSplitPolicyProvider.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LoaderSplitPolicyProvider.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/LoaderSplitPolicyProvider.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/LoaderSplitPolicyProvider.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/LoaderSplitPolicyProvider.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import com.sun.jini.collection.WeakIdentityMap; import net.jini.security.policy.DynamicPolicy; Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/NonActivatableServiceDescriptor.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/NonActivatableServiceDescriptor.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/NonActivatableServiceDescriptor.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/NonActivatableServiceDescriptor.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/NonActivatableServiceDescriptor.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/NonActivatableServiceDescriptor.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/NonActivatableServiceDescriptor.java Thu Dec 11 20:51:15 2014 @@ -16,9 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; - -import com.sun.jini.config.Config; +package org.apache.river.tools.rt.start; import net.jini.config.Configuration; import net.jini.export.ProxyAccessor; @@ -60,10 +58,10 @@ import java.util.logging.Logger; * to be placed in the same VM, with each object maintaining distinct * export codebase and security policy settings. * <P> - * <a name="serviceConstructor"> + * <a name="serviceConstructor"></a> * Services need to implement the following "non-activatable * constructor": - * <blockquote><pre><impl>(String[] args, {@link LifeCycle LifeCycle} lc)</blockquote></pre> + * <blockquote><pre><impl>(String[] args, {@link LifeCycle LifeCycle} lc)</pre></blockquote> * where, * <UL> * <LI>args - are the service configuration arguments @@ -71,7 +69,7 @@ import java.util.logging.Logger; * {@link LifeCycle} reference. * </UL> * - * <a name="serviceProxy"> + * <a name="serviceProxy"></a> * A service implementation can return its service proxy * (via the <code>proxy</code> field of the * {@link Created Created} object returned by @@ -96,9 +94,8 @@ import java.util.logging.Logger; * <li><a href="#logging">Logging</a> * </ul> * - * <a name="configEntries"> + * <a name="configEntries"></a> * <h3>Configuring NonActivatableServiceDescriptor</h3> - * </a> * * <code>NonActivatableServiceDescriptor</code> * depends on {@link ActivateWrapper}, which can itself be configured. See @@ -110,22 +107,22 @@ import java.util.logging.Logger; * {@link net.jini.config.Configuration Configuration} object passed into * the {@link #create(net.jini.config.Configuration) create} method. * The following configuration entries use the - * component prefix "<code>com.sun.jini.start</code>": <p> + * component prefix "<code>org.apache.river.tools.rt.start</code>": <p> * - * <a name="servicePreparer"> + * <a name="servicePreparer"></a> * <table summary="Describes the default service preparer configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * servicePreparer</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * servicePreparer</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link net.jini.security.ProxyPreparer} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code> * new {@link net.jini.security.BasicProxyPreparer}() * </code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The default proxy preparer used to prepare * the <a href="#serviceProxy">service proxy</a>. * This value should not be <code>null</code>. This entry is @@ -139,23 +136,21 @@ import java.util.logging.Logger; * accept a {@linkplain ProxyPreparer proxy preparer} argument. * </table> * - * <a name="logging"> + * <a name="logging"></a> * <h3>Loggers and Logging Levels</h3> - * </a> * * This implementation uses the {@link * java.util.logging.Logger}, named - * <code>com.sun.jini.start.service.starter</code>. + * <code>org.apache.river.tools.rt.start.service.starter</code>. * The following table describes the * type of information logged as well as the levels of information logged. - * <p> * * <table border="1" cellpadding="5" * summary="Describes logging performed by the non-activatable, * service descriptor at different logging levels"> * - * <caption halign="center" valign="top"><b><code> - * com.sun.jini.start.service.starter</code></b></caption> + * <caption><b><code> + * org.apache.river.tools.rt.start.service.starter</code></b></caption> * * <tr> <th scope="col"> Level <th scope="col"> Description * @@ -168,7 +163,7 @@ import java.util.logging.Logger; * for low level * service operation tracing * - * </table> <p> + * </table> * * @author Sun Microsystems, Inc. * @@ -362,9 +357,15 @@ public class NonActivatableServiceDescri /** * Convenience constructor. Equivalent to calling this - * {@link #NonActivatableServiceDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], com.sun.jini.start.LifeCycle, net.jini.security.ProxyPreparer) contructor} + * {@link #NonActivatableServiceDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], org.apache.river.tools.rt.start.LifeCycle, net.jini.security.ProxyPreparer) contructor} * with <code>null</code> for the <code>preparer</code> * reference. + * @param exportCodebase the export codebase. + * @param policy security policy. + * @param importCodebase the import codebase. + * @param implClassName implementation class name. + * @param serverConfigArgs server configuration arguments. + * @param lifeCycle the life cycle object. */ public NonActivatableServiceDescriptor( // Required Args @@ -382,9 +383,14 @@ public class NonActivatableServiceDescri /** * Convenience constructor. Equivalent to calling this - * {@link #NonActivatableServiceDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], com.sun.jini.start.LifeCycle, net.jini.security.ProxyPreparer) contructor} + * {@link #NonActivatableServiceDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], org.apache.river.tools.rt.start.LifeCycle, net.jini.security.ProxyPreparer) contructor} * with <code>null</code> for the <code>lifeCycle</code> and <code>preparer</code> * references. + * @param exportCodebase the export codebase. + * @param policy security policy. + * @param importCodebase the import codebase. + * @param implClassName implementation class name. + * @param serverConfigArgs server configuration arguments. */ public NonActivatableServiceDescriptor( // Required Args @@ -400,9 +406,15 @@ public class NonActivatableServiceDescri } /** * Convenience constructor. Equivalent to calling this - * {@link #NonActivatableServiceDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], com.sun.jini.start.LifeCycle, net.jini.security.ProxyPreparer) contructor} + * {@link #NonActivatableServiceDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], org.apache.river.tools.rt.start.LifeCycle, net.jini.security.ProxyPreparer) contructor} * with <code>null</code> for the <code>lifeCycle</code> * reference. + * @param exportCodebase the codebase annotation to be exported. + * @param policy policy file. + * @param importCodebase imported codebase. + * @param implClassName implementation class name. + * @param serverConfigArgs server configuration arguments. + * @param preparer the proxy preparer. */ public NonActivatableServiceDescriptor( // Required Args @@ -528,36 +540,36 @@ public class NonActivatableServiceDescri * This method: * <UL> * <LI> installs an {@link java.rmi.RMISecurityManager RMISecurityManager} - * if no security manager is already in place + * if no security manager is already in place</li> * <LI> installs an {@link AggregatePolicyProvider AggregatePolicyProvider} * as the VM-global policy object - * (upon the first invocation of this method) + * (upon the first invocation of this method)</li> * <LI> creates an * <code>ActivateWrapper.ExportClassLoader</code> with * the associated service's import codebase, export codebase and - * the current thread's context class loader as its arguments + * the current thread's context class loader as its arguments</li> * <LI> associates the newly created * <code>ExportClassLoader</code> and the associated service's * policy file with the - * {@link AggregatePolicyProvider AggregatePolicyProvider} + * {@link AggregatePolicyProvider AggregatePolicyProvider}</li> * <LI> sets the newly created <code>ExportClassLoader</code> as - * the current thread's context class loader + * the current thread's context class loader</li> * <LI> loads the service object's class and calls a constructor * with the following signature: - * <blockquote><pre><impl>(String[], LifeCycle)</blockquote></pre> + * <blockquote><pre><impl>(String[], LifeCycle)</pre></blockquote></li> * <LI> obtains the service proxy by calling * {@link ServiceProxyAccessor#getServiceProxy() ServiceProxyAccessor.getServiceProxy()} * or * {@link net.jini.export.ProxyAccessor#getProxy() ProxyAccessor.getProxy()}, * respectively, on the implementation instance. * If neither interface is supported, the - * proxy reference is set to <code>null</code> + * proxy reference is set to <code>null</code></li> * <LI> resets the context class loader to the - * context classloader in effect when the method was called + * context classloader in effect when the method was called</li> * </UL> * * @return a - * {@link com.sun.jini.start.NonActivatableServiceDescriptor.Created + * {@link org.apache.river.tools.rt.start.NonActivatableServiceDescriptor.Created * Created} instance with the service's proxy and implementation * references. * @throws java.lang.Exception Thrown if there was any problem @@ -715,7 +727,7 @@ public class NonActivatableServiceDescri return fields.toString(); } - /** + /* * Reads the default serializable field values for this object * and resets the tranisient fields to legal values. * Also, verifies that the deserialized values are legal. @@ -745,11 +757,13 @@ public class NonActivatableServiceDescri descCreatedLock = new Object(); } - /** + /* * Throws InvalidObjectException, since data for this class is required. */ private void readObjectNoData() throws ObjectStreamException { throw new InvalidObjectException("no data"); } + + } Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ProxyVerifier.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ProxyVerifier.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ProxyVerifier.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ProxyVerifier.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/ProxyVerifier.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/ProxyVerifier.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ProxyVerifier.java Thu Dec 11 20:51:15 2014 @@ -15,7 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import net.jini.core.constraint.MethodConstraints; import net.jini.core.constraint.RemoteMethodControl; Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceDescriptor.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceDescriptor.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceDescriptor.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceDescriptor.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceDescriptor.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceDescriptor.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceDescriptor.java Thu Dec 11 20:51:15 2014 @@ -15,7 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import net.jini.config.Configuration; /** Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceProxyAccessor.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceProxyAccessor.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceProxyAccessor.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceProxyAccessor.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceProxyAccessor.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceProxyAccessor.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceProxyAccessor.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import java.rmi.RemoteException; @@ -45,8 +45,8 @@ import java.rmi.RemoteException; * * @since 2.0 * - * @see com.sun.jini.start.NonActivatableServiceDescriptor - * @see com.sun.jini.start.SharedActivatableServiceDescriptor + * @see org.apache.river.tools.rt.start.NonActivatableServiceDescriptor + * @see org.apache.river.tools.rt.start.SharedActivatableServiceDescriptor * @see java.rmi.activation.ActivationID * **/ @@ -57,6 +57,7 @@ public interface ServiceProxyAccessor { * <code>null</code>. * * @return a proxy object reference + * @throws java.rmi.RemoteException because it might be a remote call. **/ public Object getServiceProxy() throws RemoteException; } Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceStarter.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceStarter.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceStarter.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceStarter.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceStarter.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/ServiceStarter.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/ServiceStarter.java Thu Dec 11 20:51:15 2014 @@ -16,9 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; - -import com.sun.jini.config.Config; +package org.apache.river.tools.rt.start; import net.jini.config.Configuration; import net.jini.config.ConfigurationException; @@ -53,25 +51,24 @@ import com.sun.jini.action.GetIntegerAct * <li><a href="#logging">Logging</a> * </ul> * - * <a name="configEntries"> + * <a name="configEntries"></a> * <h3>Configuring ServiceStarter</h3> - * </a> * * This implementation of <code>ServiceStarter</code> supports the * following configuration entries, with component - * <code>com.sun.jini.start</code>: + * <code>org.apache.river.tools.rt.start</code>: * * <table summary="Describes the loginContext configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * loginContext</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * loginContext</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link javax.security.auth.login.LoginContext} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code>null</code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> If not <code>null</code>, specifies the JAAS * login context to use for performing a JAAS login and supplying the * {@link javax.security.auth.Subject} to use when running the @@ -81,35 +78,33 @@ import com.sun.jini.action.GetIntegerAct * <table summary="Describes the serviceDescriptors configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * serviceDescriptors</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col"> • + * <th scope="col" align="left" colspan="2"><code> + * serviceDescriptors</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link ServiceDescriptor}[] - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: no default - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> Array of service descriptors to start. * </table> * * - *<a name="logging"> + *<a name="logging"></a> *<h3>Loggers and Logging Levels</h3> - *</a> * *The implementation uses the {@link *java.util.logging.Logger}, named - *<code>com.sun.jini.start.service.starter</code>. + *<code>org.apache.river.tools.rt.start.service.starter</code>. *The following table describes the *type of information logged as well as the levels of information logged. - *<p> * * <table border="1" cellpadding="5" * summary="Describes logging performed by service.starter at different * logging levels"> * - * <caption halign="center" valign="top"><b><code> - * com.sun.jini.start.service.starter</code></b></caption> + * <caption><b><code> + * org.apache.river.tools.rt.start.service.starter</code></b></caption> * * <tr> <th scope="col"> Level <th scope="col"> Description * @@ -134,7 +129,7 @@ import com.sun.jini.action.GetIntegerAct public class ServiceStarter { /** Component name for service starter configuration entries */ - static final String START_PACKAGE = "com.sun.jini.start"; + static final String START_PACKAGE = "org.apache.river.tools.rt.start"; /** Configure logger */ @@ -453,7 +448,7 @@ public class ServiceStarter { * <code>ConfigurationProvider.getInstance()</code> in order to * obtain a <code>Configuration</code> object. This configuration * object is then queried for the - * <code>com.sun.jini.start.serviceDescriptors</code> entry, which + * <code>org.apache.river.tools.rt.start.serviceDescriptors</code> entry, which * is assumed to be a <code>ServiceDescriptor[]</code>. * The <code>create()</code> method is then called on each of the array * elements. @@ -486,7 +481,7 @@ public class ServiceStarter { /** * The main method for embidding the <code>ServiceStarter</code> application. * The <code>config</code> argument is queried for the - * <code>com.sun.jini.start.serviceDescriptors</code> entry, which + * <code>org.apache.river.tools.rt.start.serviceDescriptors</code> entry, which * is assumed to be a <code>ServiceDescriptor[]</code>. * The <code>create()</code> method is then called on each of the array * elements. Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivatableServiceDescriptor.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivatableServiceDescriptor.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivatableServiceDescriptor.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivatableServiceDescriptor.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivatableServiceDescriptor.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivatableServiceDescriptor.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivatableServiceDescriptor.java Thu Dec 11 20:51:15 2014 @@ -15,9 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.sun.jini.start; - -import com.sun.jini.config.Config; +package org.apache.river.tools.rt.start; import net.jini.config.Configuration; import net.jini.security.BasicProxyPreparer; @@ -108,9 +106,8 @@ import java.util.logging.Logger; * <li><a href="#logging">Logging</a> * </ul> * - * <a name="configEntries"> + * <a name="configEntries"></a> * <h3>Configuring SharedActivatableServiceDescriptor</h3> - * </a> * * <code>SharedActivatableServiceDescriptor</code> * depends on {@link ActivateWrapper}, which can itself be configured. See @@ -122,22 +119,21 @@ import java.util.logging.Logger; * {@link net.jini.config.Configuration Configuration} object passed into * the {@link #create(net.jini.config.Configuration) create} method. * The following configuration entries use the - * component prefix "<code>com.sun.jini.start</code>": - * <p> + * component prefix "<code>org.apache.river.tools.rt.start</code>": * * <table summary="Describes the activationIdPreparer configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * activationIdPreparer</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * activationIdPreparer</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link net.jini.security.ProxyPreparer} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code> * new {@link net.jini.security.BasicProxyPreparer}() * </code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The proxy preparer for the service's activation * ID. The value should not be <code>null</code>. * @@ -152,15 +148,15 @@ import java.util.logging.Logger; * entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * activationSystemPreparer</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * activationSystemPreparer</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link net.jini.security.ProxyPreparer} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code> * new {@link net.jini.security.BasicProxyPreparer}()</code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The proxy preparer for the proxy for the * activation system. The value should not be <code>null</code>. * @@ -171,20 +167,20 @@ import java.util.logging.Logger; * creating a service. * </table> * - * <a name="servicePreparer"> + * <a name="servicePreparer"></a> * <table summary="Describes the default service preparer configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * servicePreparer</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * servicePreparer</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link net.jini.security.ProxyPreparer} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code> * new {@link net.jini.security.BasicProxyPreparer}() * </code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The default proxy preparer used to prepare * service proxies. * This value should not be <code>null</code>. This entry is @@ -199,24 +195,22 @@ import java.util.logging.Logger; * accept a {@linkplain ProxyPreparer proxy preparer} argument. * </table> * - *<a name="logging"> + *<a name="logging"></a> *<h3>Loggers and Logging Levels</h3> - *</a> * * The implementation uses the {@link * java.util.logging.Logger}, named - * <code>com.sun.jini.start.service.starter</code>. + * <code>org.apache.river.tools.rt.start.service.starter</code>. * The following table describes the * type of information logged as well as the levels of information logged. - * <p> * * <table border="1" cellpadding="5" * summary="Describes logging performed by the shared, * activatable service descriptor at different * logging levels"> * - * <caption halign="center" valign="top"><b><code> - * com.sun.jini.start.service.starter</code></b></caption> + * <caption><b><code> + * org.apache.river.tools.rt.start.service.starter</code></b></caption> * * <tr> <th scope="col"> Level <th scope="col"> Description * @@ -317,6 +311,13 @@ public class SharedActivatableServiceDes * {@link ActivationSystem#SYSTEM_PORT} unless it is overridden by the * <code>java.rmi.activation.port</code> system property. * + * @param exportCodebase the export codebase. + * @param policy security policy. + * @param importCodebase the import codebase. + * @param implClassName implementation class name. + * @param sharedGroupLog shared group log. + * @param serverConfigArgs server configuration arguments. + * @param restart restart parameter. */ public SharedActivatableServiceDescriptor( // Required Args @@ -344,6 +345,15 @@ public class SharedActivatableServiceDes * {@link ActivationSystem#SYSTEM_PORT} unless it is overridden by the * <code>java.rmi.activation.port</code> system property. * + * @param exportCodebase the export codebase. + * @param policy security policy. + * @param importCodebase the import codebase. + * @param implClassName implementation class name. + * @param sharedGroupLog shared group log. + * @param serverConfigArgs server configuration arguments. + * @param innerProxyPreparer inner proxy preparer. + * @param outerProxyPreparer outer proxy preparer. + * @param restart restart parameter. */ public SharedActivatableServiceDescriptor( // Required Args @@ -368,6 +378,15 @@ public class SharedActivatableServiceDes * {@link #SharedActivatableServiceDescriptor(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], net.jini.security.ProxyPreparer, net.jini.security.ProxyPreparer, boolean, java.lang.String, int) constructor} * with the <code>innerProxyPreparer</code> and <code>outerProxyPreparer</code> arguments set to * <code>null</code>. + * @param exportCodebase the export codebase. + * @param policy security policy. + * @param importCodebase the import codebase. + * @param implClassName implementation class name. + * @param sharedGroupLog shared group log. + * @param serverConfigArgs server configuration arguments. + * @param restart restart parameter. + * @param host host name for activation system. + * @param port TCP port for activation system. */ public SharedActivatableServiceDescriptor( // Required Args @@ -425,7 +444,7 @@ public class SharedActivatableServiceDes * activation system. * @param host hostname of desired activation system. If <code>null</code>, * defaults to the localhost. - * @param port port of desired activation system. If value is <= 0, then + * @param port port of desired activation system. If value is <= 0, then * defaults to * {@link java.rmi.activation.ActivationSystem#SYSTEM_PORT * ActivationSystem.SYSTEM_PORT}. @@ -527,32 +546,34 @@ public class SharedActivatableServiceDes * <UL> * <LI> creates an <code>ActivateWrapper.ActivateDesc</code> with * the provided constructor parameter information for the - * desired service + * desired service</li> * <LI> retrieves the * {@linkplain java.rmi.activation.ActivationGroupID group identifier} - * associated with the provided shared group log. + * associated with the provided shared group log.</li> * <LI> invokes - * {@link ActivateWrapper#register(java.rmi.activation.ActivationGroupID, com.sun.jini.start.ActivateWrapper.ActivateDesc, boolean, java.rmi.activation.ActivationSystem) - * ActivateWrapper.register()} with the provided information. + * {@link ActivateWrapper#register(java.rmi.activation.ActivationGroupID, org.apache.river.tools.rt.start.ActivateWrapper.ActivateDesc, boolean, java.rmi.activation.ActivationSystem) + * ActivateWrapper.register()} with the provided information.</li> * <LI> obtains an <A HREF="#innerProxy">inner proxy</A> by calling * {@link java.rmi.activation.ActivationID#activate(boolean) * activate(true)} on the object returned from * <code>ActivateWrapper.register()</code>, which also - * activates the service instance. + * activates the service instance.</li> * <LI> obtains the service proxy in the following * order of precedence: * <UL> * <LI>if the <A HREF="#innerProxy">inner proxy</A> implements * {@link ServiceProxyAccessor} then the return value of * {@link ServiceProxyAccessor#getServiceProxy() getServiceProxy} - * is used + * is used</li> * <LI>if the <A HREF="#innerProxy">inner proxy</A> is - * not <code>null</code> then it is used - * <LI>Otherwise, <code>null</code> is used + * not <code>null</code> then it is used</li> + * <LI>Otherwise, <code>null</code> is used</li> + * </UL> + * </li> * </UL> * * @return a - * {@link com.sun.jini.start.SharedActivatableServiceDescriptor.Created + * {@link org.apache.river.tools.rt.start.SharedActivatableServiceDescriptor.Created * Created} object that contains the group identifier, activation ID, and * proxy associated with the newly created service instance. * @throws java.lang.Exception Thrown if there was any problem @@ -684,7 +705,7 @@ public class SharedActivatableServiceDes return fields.toString(); } - /** + /* * Reads the default serializable field values for this object. * Also, verifies that the deserialized values are legal. */ @@ -707,7 +728,7 @@ public class SharedActivatableServiceDes innerProxyPreparer = null; } - /** + /* * Throws InvalidObjectException, since data for this class is required. */ private void readObjectNoData() throws ObjectStreamException { Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationGroupDescriptor.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivationGroupDescriptor.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationGroupDescriptor.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationGroupDescriptor.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivationGroupDescriptor.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivationGroupDescriptor.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationGroupDescriptor.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import net.jini.config.Configuration; @@ -116,12 +116,6 @@ public class SharedActivationGroupDescri private static final Logger logger = ServiceStarter.logger; - /** - * Trivial constructor. Simply calls the other overloaded constructor - * with the <code>host</code> and <code>port</code> parameters set to - * <code>null</code> and 0, respectively. - * - */ public SharedActivationGroupDescriptor( //Required Args String policy, String classpath, String log, @@ -151,7 +145,7 @@ public class SharedActivationGroupDescri * array must have an even number of elements. * @param host hostname of desired activation system. If <code>null</code>, * defaults to the localhost. - * @param port port of desired activation system. If value is <= 0, then + * @param port port of desired activation system. If value is <= 0, then * defaults to * {@link java.rmi.activation.ActivationSystem#SYSTEM_PORT * ActivationSystem.SYSTEM_PORT}. @@ -456,7 +450,7 @@ public class SharedActivationGroupDescri return fields.toString(); } - /** + /* * Reads the default serializable field values for this object. * Also, verifies that the deserialized values are legal. */ @@ -488,7 +482,7 @@ public class SharedActivationGroupDescri } } - /** + /* * Throws InvalidObjectException, since data for this class is required. */ private void readObjectNoData() throws ObjectStreamException { Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationPolicyPermission.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivationPolicyPermission.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationPolicyPermission.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationPolicyPermission.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivationPolicyPermission.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/SharedActivationPolicyPermission.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedActivationPolicyPermission.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import java.io.File; import java.io.FilePermission; @@ -31,7 +31,7 @@ import java.util.Enumeration; /** * {@link Permission} class used by the - * {@linkplain com.sun.jini.start service starter} + * {@linkplain org.apache.river.tools.rt.start service starter} * package. This class takes a policy string argument that follows the * matching semantics defined by {@link FilePermission}. The * {@link ActivateWrapper} class explicitly checks to see if the service's @@ -41,7 +41,7 @@ import java.util.Enumeration; * An example grant is: * <blockquote><pre> * grant codebase "file:<VAR><B>install_dir</B></VAR>/lib/fiddler.jar" { - * permission com.sun.jini.start.SharedActivationPolicyPermission + * permission org.apache.river.tools.rt.start.SharedActivationPolicyPermission * "<VAR><B>policy_dir</B></VAR>${/}policy.fiddler"; * }; * </pre></blockquote> @@ -77,6 +77,7 @@ public final class SharedActivationPolic * Constructor that creates a * <code>SharedActivationPolicyPermission</code> with the specified name. * Delegates <code>policy</code> to supertype. + * @param policy Name of the policy. */ public SharedActivationPolicyPermission(String policy) { //TBD - check for null args @@ -90,6 +91,8 @@ public final class SharedActivationPolic * This constructor exists for use by the <code>Policy</code> object * to instantiate new Permission objects. The <code>action</code> * argument is currently ignored. + * @param policy The policy. + * @param action The action. */ public SharedActivationPolicyPermission(String policy, String action) { //TBD - check for null args Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroup.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroup.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroup.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroup.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroup.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroup.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroup.java Thu Dec 11 20:51:15 2014 @@ -16,13 +16,13 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import java.rmi.activation.ActivationException; import java.rmi.RemoteException; /** - * The {@linkplain com.sun.jini.start service starter} + * The {@linkplain org.apache.river.tools.rt.start service starter} * supported interface for shared group objects. * Shared group objects are used to destroy the VM in which they are * placed. Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupBackEnd.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroupBackEnd.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupBackEnd.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupBackEnd.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroupBackEnd.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroupBackEnd.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupBackEnd.java Thu Dec 11 20:51:15 2014 @@ -16,7 +16,7 @@ * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import java.rmi.Remote; Copied: river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupImpl.java (from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroupImpl.java) URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupImpl.java?p2=river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupImpl.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroupImpl.java&r1=1644543&r2=1644761&rev=1644761&view=diff ============================================================================== --- river/jtsk/branches/2.2/src/com/sun/jini/start/SharedGroupImpl.java (original) +++ river/river-rt-tools/trunk/start/src/main/java/org/apache/river/tools/rt/start/SharedGroupImpl.java Thu Dec 11 20:51:15 2014 @@ -15,7 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.sun.jini.start; +package org.apache.river.tools.rt.start; import net.jini.activation.ActivationExporter; import net.jini.config.Configuration; @@ -57,27 +57,26 @@ import javax.security.auth.login.LoginCo * <li><a href="#logging">Logging</a> * </ul> * - * <a name="configEntries"> + * <a name="configEntries"></a> * <h3>Configuring SharedGroupImpl</h3> - * </a> * * This implementation of <code>SharedGroupImpl</code> supports the * following configuration entries, with component - * <code>com.sun.jini.start</code>: + * <code>org.apache.river.tools.rt.start</code>: * * <table summary="Describes the activationIdPreparer configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * activationIdPreparer</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * activationIdPreparer</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link net.jini.security.ProxyPreparer} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code> * new {@link net.jini.security.BasicProxyPreparer}() * </code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The proxy preparer for the service's activation * ID. The value should not be <code>null</code>. * @@ -90,15 +89,15 @@ import javax.security.auth.login.LoginCo * entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * activationSystemPreparer</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * activationSystemPreparer</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link net.jini.security.ProxyPreparer} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code> * new {@link net.jini.security.BasicProxyPreparer}()</code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The proxy preparer for the proxy for the * activation system. The value should not be <code>null</code>. This * entry is obtained at service start and restart. @@ -112,12 +111,12 @@ import javax.security.auth.login.LoginCo * <table summary="Describes the exporter configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * exporter</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * exporter</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link net.jini.export.Exporter} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> * <pre> * new {@link net.jini.activation.ActivationExporter}( @@ -126,25 +125,25 @@ import javax.security.auth.login.LoginCo * {@link net.jini.jeri.tcp.TcpServerEndpoint#getInstance TcpServerEndpoint.getInstance}(0), * new {@link net.jini.jeri.BasicILFactory}(), false, true)) * </pre> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> The object to use for exporting the service. The * value should not be <code>null</code>. The call to * <code>getEntry</code> will supply the activation ID in * the <code>data</code> argument. This entry is obtained at service * start and restart. - * </table> <p> + * </table> * * <table summary="Describes the loginContext configuration entry" * border="0" cellpadding="2"> * <tr valign="top"> - * <th scope="col" summary="layout"> <font size="+1">•</font> - * <th scope="col" align="left" colspan="2"> <font size="+1"><code> - * loginContext</code></font> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <th scope="col">• + * <th scope="col" align="left" colspan="2"><code> + * loginContext</code> + * <tr valign="top"> <td> <th scope="row" align="right"> * Type: <td> {@link javax.security.auth.login.LoginContext} - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Default: <td> <code>null</code> - * <tr valign="top"> <td>   <th scope="row" align="right"> + * <tr valign="top"> <td> <th scope="row" align="right"> * Description: <td> If not <code>null</code>, specifies the JAAS * login context to use for performing a JAAS login and supplying the * {@link javax.security.auth.Subject} to use when running the @@ -153,22 +152,21 @@ import javax.security.auth.login.LoginCo * </table> * * - *<a name="logging"> + *<a name="logging"></a> *<h3>Loggers and Logging Levels</h3> - *</a> * *The SharedGroupImpl service implementation uses the {@link *java.util.logging.Logger}, named <code>com.sun.jini.sharedGroup</code>. *The following table describes the *type of information logged as well as the levels of information logged. - *<p> + * * * <table border="1" cellpadding="5" * summary="Describes logging performed by sharedGroup at different * logging levels"> * - * <caption halign="center" valign="top"><b><code> - * com.sun.jini.start.sharedGroup</code></b></caption> + * <caption><b><code> + * org.apache.river.tools.rt.start.sharedGroup</code></b></caption> * * <tr> <th scope="col"> Level <th scope="col"> Description * @@ -192,7 +190,7 @@ public class SharedGroupImpl { /** Component name for configuration entries */ - private static final String START_PACKAGE = "com.sun.jini.start"; + private static final String START_PACKAGE = "org.apache.river.tools.rt.start"; /** Configure logger */ private static final Logger logger =