JBoss Modular Service Kernel API 1.0.0.Beta4-SNAPSHOT

org.jboss.msc.service
Interface StartContext

All Superinterfaces:
LifecycleContext

public interface StartContext
extends LifecycleContext

The start lifecycle context.

Author:
David M. Lloyd

Method Summary
 void failed(StartException reason)
          Call when an asynchronous start lifecycle action has failed for some reason.
 
Methods inherited from interface org.jboss.msc.service.LifecycleContext
asynchronous, complete, getController
 

Method Detail

failed

void failed(StartException reason)
            throws IllegalStateException
Call when an asynchronous start lifecycle action has failed for some reason.

Parameters:
reason - the reason for the failure
Throws:
IllegalStateException - if called before LifecycleContext.asynchronous() is called, or if the action was already completed

JBoss Modular Service Kernel API 1.0.0.Beta4-SNAPSHOT

Copyright © 2010 JBoss, a division of Red Hat, Inc.