com.sun.jini.phoenix
Class PhoenixStarter

java.lang.Object
  extended by com.sun.jini.phoenix.PhoenixStarter
All Implemented Interfaces:
ServiceProxyAccessor

 class PhoenixStarter
extends Object
implements ServiceProxyAccessor

Used to start phoenix from the ServiceStarter.


Field Summary
private  LifeCycle lifeCycle
          the LifeCycle callback object
private  Activation phoenixImpl
          reference to recovered Activation instance
private  Object serviceProxy
          the ActivationSystem proxy
 
Constructor Summary
PhoenixStarter(String[] configOptions, LifeCycle lifeCycle)
          Constructs a PhoenixStarter instance.
 
Method Summary
 Object getServiceProxy()
          Returns a proxy object for this object.
(package private)  void unregister()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

phoenixImpl

private final Activation phoenixImpl
reference to recovered Activation instance


serviceProxy

private final Object serviceProxy
the ActivationSystem proxy


lifeCycle

private final LifeCycle lifeCycle
the LifeCycle callback object

Constructor Detail

PhoenixStarter

PhoenixStarter(String[] configOptions,
               LifeCycle lifeCycle)
         throws Exception
Constructs a PhoenixStarter instance. This constructor is defined such that it can be called from the NonActivatableServiceDescriptor.create method which allows phoenix to be started from the ServiceStarter.

Throws:
Exception
Method Detail

getServiceProxy

public Object getServiceProxy()
Description copied from interface: ServiceProxyAccessor
Returns a proxy object for this object. This value should not be null.

Specified by:
getServiceProxy in interface ServiceProxyAccessor
Returns:
a proxy object reference

unregister

void unregister()


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