com.sun.jini.reggie
Class TransientRegistrarImpl

java.lang.Object
  extended by com.sun.jini.reggie.RegistrarImpl
      extended by com.sun.jini.reggie.TransientRegistrarImpl
All Implemented Interfaces:
DestroyAdmin, Registrar, ServiceProxyAccessor, Remote, Administrable, JoinAdmin, ProxyAccessor, DiscoveryAdmin, ServerProxyTrust

public class TransientRegistrarImpl
extends RegistrarImpl

Class for starting transient lookup services.

Author:
Sun Microsystems, Inc.

Constructor Summary
protected TransientRegistrarImpl(Configuration config, LifeCycle lifeCycle)
          Constructs a TransientRegistrarImpl based on the configuration argument If lifeCycle is non-null, then its unregister method is invoked during service shutdown.
protected TransientRegistrarImpl(String[] configArgs, LifeCycle lifeCycle)
          Constructs a TransientRegistrarImpl based on a configuration obtained using the provided arguments.
 
Method Summary
 
Methods inherited from class com.sun.jini.reggie.RegistrarImpl
addAttributes, addLookupAttributes, addLookupGroups, addLookupLocators, addMemberGroups, cancelEventLease, cancelLeases, cancelServiceLease, destroy, getAdmin, getEntryClasses, getFieldValues, getLocator, getLookupAttributes, getLookupGroups, getLookupLocators, getMemberGroups, getProxy, getProxyVerifier, getServiceProxy, getServiceTypes, getUnicastPort, lookup, lookup, modifyAttributes, modifyLookupAttributes, notify, register, removeLookupGroups, removeLookupLocators, removeMemberGroups, renewEventLease, renewLeases, renewServiceLease, setAttributes, setLookupGroups, setLookupLocators, setMemberGroups, setUnicastPort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientRegistrarImpl

protected TransientRegistrarImpl(String[] configArgs,
                                 LifeCycle lifeCycle)
                          throws Exception
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.

Throws:
Exception

TransientRegistrarImpl

protected TransientRegistrarImpl(Configuration config,
                                 LifeCycle lifeCycle)
                          throws Exception
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.

Throws:
Exception


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.