public abstract class ExecutionMonitorProvider extends Object implements Service
ExecutionMonitor
.Constructor and Description |
---|
ExecutionMonitorProvider() |
Modifier and Type | Method and Description |
---|---|
void |
configure(ServiceProfile<?> profile)
Configures this service.
|
protected void |
doConfigure(ServiceProfile<?> profile)
Configures this service internally (extention point).
|
abstract PhaseMonitor |
newInstance(ExecutionContext context)
Creates a new
PhaseMonitor . |
public final void configure(ServiceProfile<?> profile) throws InterruptedException, IOException
Service
configure
in interface Service
profile
- the profile of this serviceInterruptedException
- if interrupted in configurationIOException
- if failed to configure this serviceprotected void doConfigure(ServiceProfile<?> profile) throws InterruptedException, IOException
profile
- profile of this serviceInterruptedException
- if interrupted this configurationIOException
- if failed to configurepublic abstract PhaseMonitor newInstance(ExecutionContext context) throws InterruptedException, IOException
PhaseMonitor
.context
- the current execution contextInterruptedException
- if the creation is interruptedIOException
- if failed to create a PhaseMonitor
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.