org.jboss.dependency.spi.dispatch
Interface LifecycleDispatchContext
- All Superinterfaces:
- AttributeDispatchContext, InvokeDispatchContext
- All Known Subinterfaces:
- KernelControllerContext
- All Known Implementing Classes:
- AbstractKernelControllerContext, UnmodifiableKernelControllerContext
public interface LifecycleDispatchContext
- extends InvokeDispatchContext
This context knows how to handle lifecycle invocation.
Resulting in valid lifecycle invocation will force this context to change state.
- Author:
- Ales Justin
lifecycleInvocation
ControllerState lifecycleInvocation(String name,
Object[] parameters,
String[] signature)
throws Throwable
- Is this invocation a lifecycle invocation.
Return state value to which this context should be moved
or return current state if we're already past the lifecycle state
or null if the invocation is actually not a lifecycle invocation.
- Parameters:
name
- method nameparameters
- parameter valuessignature
- method's parameter types / signatures
- Returns:
- state to which we should move this context, or null if this is not lifecycle invocation
- Throws:
Throwable
- for any error
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.