8 Nov 2007 17:18
[jira] Created: (HIVEMIND-210) Problem contributing to EagerLoad with annotation module
Kevin Gilpin (JIRA <hivemind-dev <at> jakarta.apache.org>
2007-11-08 16:18:50 GMT
2007-11-08 16:18:50 GMT
Problem contributing to EagerLoad with annotation module
--------------------------------------------------------
Key: HIVEMIND-210
URL: https://issues.apache.org/jira/browse/HIVEMIND-210
Project: HiveMind
Issue Type: Bug
Components: annotations
Affects Versions: 2.0-alpha-1
Reporter: Kevin Gilpin
I've defined an annotation module. I define a service and contribute it to the EagerLoad configuration
point, but EagerLoad throws a ClassCastException. If I define the contribution in an XML file, it works.
The relevant code is included below.
Module
======
package com.praxeon.search.service;
import java.util.Collections;
import java.util.List;
import org.apache.hivemind.annotations.AbstractAnnotatedModule;
import org.apache.hivemind.annotations.definition.Configuration ;
import org.apache.hivemind.annotations.definition.Contribution;
import org.apache.hivemind.annotations.definition.Module;
import org.apache.hivemind.annotations.definition.Service;
import com.praxeon.api.index.IndexHome ;
(Continue reading)
RSS Feed