com.sun.jini.reggie
Class PersistentRegistrarImpl

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

public class PersistentRegistrarImpl
extends RegistrarImpl

Class for starting activatable and non-activatable persistent lookup services.

Author:
Sun Microsystems, Inc.

Constructor Summary
(package private) PersistentRegistrarImpl(ActivationID activationID, MarshalledObject data)
          Constructs an activatable PersistentRegistrarImpl assigned the given activation ID, based on a configuration obtained using the provided marshalled string array.
protected PersistentRegistrarImpl(String[] configArgs, LifeCycle lifeCycle)
          Constructs a non-activatable PersistentRegistrarImpl 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

PersistentRegistrarImpl

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

Throws:
Exception

PersistentRegistrarImpl

PersistentRegistrarImpl(ActivationID activationID,
                        MarshalledObject data)
                  throws Exception
Constructs an activatable PersistentRegistrarImpl assigned the given activation ID, based on a configuration obtained using the provided marshalled string array.

Throws:
Exception


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