Hi,
Before yesterday we used the captioned to return a list of managed classes implementing the given interface where such classes exist in a different JAR\project to that making the call, e.g.:-
Project1
class MyClass {
Collection<IOCBeanDef> beans = manager.lookupBeans(IMyInterface.class);
}
interface IMyInterface {
...
}
Project2
class MyInterfaceImpl implements IMyInterface {
...
}
Today I find this no longer works - only if the implementation is in the same JAR\project scope as that making the call, e.g.:-
Project1
class MyClass {
Collection<IOCBeanDef> beans = manager.lookupBeans(IMyInterface.class);
}
interface IMyInterface {
...
}
class MyInterfaceImpl implements IMyInterface {
...
}
This functionality is absolutely critical to our project.
Is the change in behaviour by accident or design? Please, please, please be by accident.
I've asked colleagues to verify incase it's a local problem.
Thanks,
Mike
Hmmm.. ok, a local problem I presume.
Did a full mvn -U clean install and the problem disappeared.
Sorry to have troubled anybody.
Mike