public abstract class CoreProfile extends Object implements Service
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_VERSION
The configuration key prefix of
getVersion(). |
| Constructor and Description |
|---|
CoreProfile() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ServiceProfile<?> profile)
Configures this service.
|
protected void |
doConfigure(ServiceProfile<?> profile)
Configures this service internally (extention point).
|
String |
getVersion()
Returns the profile version.
|
public static final String KEY_VERSION
getVersion().public final void configure(ServiceProfile<?> profile) throws InterruptedException, IOException
Serviceconfigure in interface Serviceprofile - the profile of this serviceInterruptedException - if interrupted in configurationIOException - if failed to configure this serviceprotected void doConfigure(ServiceProfile<?> profile) throws InterruptedException, IOException
profile - the profile of this serviceInterruptedException - if interrupted in configurationIOException - if failed to configure this servicepublic String getVersion()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.