org.kuali.rice.core.impl.lifecycle
Class ServiceDelegatingLifecycle

java.lang.Object
  extended by org.kuali.rice.core.api.lifecycle.BaseLifecycle
      extended by org.kuali.rice.core.impl.lifecycle.ServiceDelegatingLifecycle
All Implemented Interfaces:
Lifecycle

public class ServiceDelegatingLifecycle
extends BaseLifecycle

A lifecycle that wraps a service. This fetches and calls a lifecycle available in the GRL and calls lifecycle methods on that.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ServiceDelegatingLifecycle(QName serviceName)
           
ServiceDelegatingLifecycle(String serviceName)
           
 
Method Summary
protected  Lifecycle loadService(QName serviceName)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.kuali.rice.core.api.lifecycle.BaseLifecycle
isStarted, setStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDelegatingLifecycle

public ServiceDelegatingLifecycle(QName serviceName)

ServiceDelegatingLifecycle

public ServiceDelegatingLifecycle(String serviceName)
Method Detail

start

public void start()
           throws Exception
Specified by:
start in interface Lifecycle
Overrides:
start in class BaseLifecycle
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Lifecycle
Overrides:
stop in class BaseLifecycle
Throws:
Exception

loadService

protected Lifecycle loadService(QName serviceName)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.