public static class LegacyReport.Initializer extends RuntimeResource.DelegateRegisterer<Report.Delegate>
Report.Delegate.RuntimeResource.DelegateRegisterer<D>| Constructor and Description |
|---|
Initializer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getClassNameKey()
Returns the configuration key of the delegation object class name.
|
protected Class<? extends Report.Delegate> |
getInterfaceType()
Returns the interface type of the delegation object.
|
protected void |
register(Report.Delegate delegate,
ResourceConfiguration configuration)
Registers the delegation object.
|
protected void |
unregister(Report.Delegate delegate,
ResourceConfiguration configuration)
Unregisters the delegation object.
|
cleanup, setupprotected String getClassNameKey()
RuntimeResource.DelegateRegisterergetClassNameKey in class RuntimeResource.DelegateRegisterer<Report.Delegate>protected Class<? extends Report.Delegate> getInterfaceType()
RuntimeResource.DelegateRegisterergetInterfaceType in class RuntimeResource.DelegateRegisterer<Report.Delegate>protected void register(Report.Delegate delegate, ResourceConfiguration configuration) throws IOException, InterruptedException
RuntimeResource.DelegateRegistererregister in class RuntimeResource.DelegateRegisterer<Report.Delegate>delegate - the delegation objectconfiguration - the current configurationIOException - if failed to register the object by I/O errorInterruptedException - if interrupted while registering the objectprotected void unregister(Report.Delegate delegate, ResourceConfiguration configuration) throws IOException, InterruptedException
RuntimeResource.DelegateRegistererunregister in class RuntimeResource.DelegateRegisterer<Report.Delegate>delegate - the delegation objectconfiguration - the current configurationIOException - if failed to unregister the object by I/O errorInterruptedException - if interrupted while unregistering the objectCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.