|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.service.impl.ResourceService_impl
public class ResourceService_impl
Convenience base class for Resource Service implementations. This class is independent of the deployment technology used to deploy the service.
Constructor Summary | |
---|---|
ResourceService_impl()
|
Method Summary | |
---|---|
ResourceMetaData |
getMetaData()
Gets metadata for this Resource service. |
protected Resource |
getResource()
Gets the Resource that delivers the functionality for this resource. |
protected java.lang.Class<? extends Resource> |
getResourceClass()
Gets the Class of resource that provides the functionality for this service. |
void |
initialize(ResourceSpecifier aResourceSpecifier,
java.util.Map<java.lang.String,java.lang.Object> aResourceInitParams)
Initializes this ResourceService_impl. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceService_impl()
Method Detail |
---|
public void initialize(ResourceSpecifier aResourceSpecifier, java.util.Map<java.lang.String,java.lang.Object> aResourceInitParams) throws ResourceInitializationException
aResourceSpecifier
- specifier that describes how to create the resources that provide the functionality
for this service.aResourceInitParams
- additional parameters to be passed on to the Resource Factory.
ResourceInitializationException
public ResourceMetaData getMetaData() throws ResourceServiceException
metadata
-
ResourceServiceException
protected java.lang.Class<? extends Resource> getResourceClass()
initialize(ResourceSpecifier,Map)
method in order to create the
Resource object. Subclasses may override this method to specify which resource class is to be
created.
protected Resource getResource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |