public interface Initializable
This interface provides a way of initializing a class with a UimaContext
. The standard
use case of this interface involves situations in which a member variable is declared with an
interface type and the actual class that is used is decided at runtime. When the member variable
is instantiated, it is useful to provide it a UimaContext
so that it can initialize
itself based on configuration parameters.
Modifier and Type | Method and Description |
---|---|
void |
initialize(UimaContext context)
This method will be called automatically if the implementing class is instantiated with
InitializableFactory.
|
void initialize(UimaContext context) throws ResourceInitializationException
ResourceInitializationException
Copyright © 2012–2013 The Apache Software Foundation. All rights reserved.