View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership. The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License. You may obtain a copy of the License at
9    * 
10   *      http://www.apache.org/licenses/LICENSE-2.0
11   * 
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  package com.sun.jini.reggie;
20  
21  import org.apache.river.start.lifecycle.LifeCycle;
22  import net.jini.config.Configuration;
23  
24  /**
25   * Class for starting transient lookup services.
26   *
27   * @author Sun Microsystems, Inc.
28   * @deprecated
29   */
30  @Deprecated
31  public class TransientRegistrarImpl extends org.apache.river.reggie.TransientRegistrarImpl {
32  
33      /**
34       * Constructs a TransientRegistrarImpl based on a configuration obtained
35       * using the provided arguments.  If lifeCycle is non-null, then its
36       * unregister method is invoked during service shutdown.
37       * @param configArgs
38       * @param lifeCycle
39       * @throws java.lang.Exception
40       */
41      public TransientRegistrarImpl(String[] configArgs, LifeCycle lifeCycle)
42  	throws Exception
43      {
44  	super(configArgs, lifeCycle);
45      }
46  
47      /**
48       * Constructs a TransientRegistrarImpl based on the configuration argument
49       * If lifeCycle is non-null, then its
50       * unregister method is invoked during service shutdown.
51       *
52       * It has the new (Embedded)NonActivatableServiceDescriptor service signature.
53       * @param config
54       * @param lifeCycle
55       * @throws java.lang.Exception
56       */
57      public TransientRegistrarImpl(Configuration config, LifeCycle lifeCycle)
58  	throws Exception
59      {
60  	super(config, lifeCycle);
61      }
62      
63  }