I can register a bean like this:
Registry registry = context.getRegistry();
registry.bind("CurrentAggregateStrategy", new AggregateStrategy());But I want this dependency to be optional, so I am not sure that the class (in this example AggregateStrategy) is on the classpath. Is it possible that the bean can autoregister itself? Raymond
