Resource
from a ResourceSpecifier
. Applications do not need to call this method. It is called automatically by the ResourceFactory
and cannot be called a second time.
@param aSpecifier specifies how to create a resource or locate an existing resource service.
@param aAdditionalParams a Map containing additional parameters. May be null
if there are no parameters. Each class that implements this interface can decide what additional parameters it supports.
@return true if and only if initialization completed successfully. Reutrns false if the givenResourceSpecifier
is not of an appropriate type for this Resource. If the ResourceSpecifier
is of an appropriate type but is invalid or if some other failure occurs, an exception should be thrown.
@throws ResourceInitializationException if a failure occurs during initialization.
@throws UIMA_IllegalStateException if this method is called more than once on a single Resource instance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|