Thanks for the reply. That did work and I can get the names of all the 
delegates.

The real problem I am trying to solve is to update the configuration params of 
the aggregate analysis engine and any of its delegates before it is run.

With this method I do get the resource specifiers but I am not quite sure how I 
am supposed to change the configuration parameter values.

I was planning to use the ResourceMetaData.setConfigurationParameterSettings 
method to do so and that is why I was looking for a way to get to the 
AnalysisEngineMetadata of the delegate engines.

Can someone suggest how I could go about solving my problem?


_______________
Girish Chavan, MSIS
Department of Biomedical Informatics (DBMI)
University of Pittsburgh



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Adam Lally
Sent: Tuesday, July 21, 2009 5:40 PM
To: [email protected]
Subject: Re: getDelegateAnalysisEngineMetadata returns null

On Tue, Jul 21, 2009 at 1:16 PM, Chavan, Girish<[email protected]> wrote:
> The javadoc for the
> AnalysisEngineMetadata.getDelegateAnalysisEngineMetadata() method states
> that some implementations might always return null for this method.  I
> am using the default implementation ( AnalysisEngineMetadata_impl) and
> it does seem to return null even for an aggregate analysis engine. Could
> someone confirm that this is intentional, maybe I am missing something.
>
>
>
> Is there any other way short of parsing the descriptor myself to get at
> the delegateAnalysisEngineMetadata objects?
>

Try AnalysisEngineDescription.getDelegateAnalysisEngineSpecifiers()

 -Adam

Reply via email to