You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 15 Members of 9400 |
Work in progress list of enhancements to javax.enterprise.inject.spi for the CDI 1.0 maintenance release and CDI 1.1.
This is a generalization of CDI's built-in support for Java EE component environment resources
, allowing portable extensions to define their own annotations that work like @Resource, @PersistenceContext, @EJB and friends in a producer field declaration. For example:
@Produces @JMS(topic=".../prices") @Prices Topic topic;
We would need to introduce a new interface in the SPI package:
public interface Initializer<X> {
public X getInitialValue(AnnotatedField<?> field);
}
Along with a ProcessProducerField event type extending ProcessProducer with a setInitializer() method.
A convenience feature to minimize the number of anonymous classes implementing Bean and minimize implementation errors.
Add:
to BeanManager.
Or, perhaps:
Also add:
to BeanManager.
Wrapping the AnnotatedType just to add an annotation is a real PITA.
We should make it possible to mess with the scope/qualifiers/name/etc of a bean either from ProcessBean event, or, better from a ProcessBeanAttributes event which lets you wrap the BeanAttributes or give the container a new one created with BeanManager.createBeanAttributes().
Add ProcessModule event which let's you mess with the enabled alternatives/interceptors/decorators and more:
public interface ProcessModule {
public Set<Class> getAlternatives();
public List<Class> getInterceptors();
public List<Class> getDecorators();
public Set<AnnotatedType> getAnnotatedTypes();
public Set<Extension> getExtensions();
}
Add ProcessInjectionPoint event, along with BeanManager.createInjectionPoint(annotatedMember).
It's more convenient for a portable extension to use Instance than BeanManager.getBeans() followed by BeanManager.getInstance().
This is not 100% clear in the spec.
Add public <T extends Extension> T getExtension(Class<T> extensionClass) to BeanManager.
We should add Module and Bean.getModule() instead of using getBeanClass() as a proxy for the module when doing inter-module dependency resolution.
Looks good. Would the ProcessModule event allow you to add new AnnotatedTypes after you have already 'seen' all the existing annotated types in the Bean discovery phase?
Stuart, that's an interesting question. No, I have not yet looked into this issue, though I understand why you would want to do it. I think that with the new createBean() and createBeanAttributes() methods described above, the need for this goes away. WDYT?
Learn more about Weld...
skechers shape ups shoes skechers shape ups shoes shape ups shoes shape ups shoes shape up shoes shape up shoes MLB jerseys MLB jerseys cheap MLB jerseys cheap MLB jerseys MLB jersey MLB jersey wholesale mlb jerseys wholesale mlb jerseys discount mlb jerseys discount mlb jerseys replica mlb jerseys replica mlb jerseys GHD GHD GHD Hair Straighteners GHD Hair Straighteners GHD Straighteners GHD Straighteners MBT shoes MBT shoes MBT mbt discount mbt shoes discount mbt shoes ghd hair straighteners wholesale GHD hair straighteners wholesale cheap ghd straighteners cheap GHD straighteners Buy Cheap GHD MK4 buy cheap ghd MK4 chi chi chi hair straightener chi hair straightener chi flat iron chi flat iron shape ups shoes wholesale shape ups shoes wholesale cheap skechers shape ups shoes cheap skechers shape ups shoes discount shape up shoes discount shape up shoes wholesale mbt shoes wholesale mbt shoes mbt shoes mbt shoes cheap mbt shoes cheap mbt shoes reebok easytone reebok easytone reebok easytone shoes reebok easytone shoes reebok easy tone Reebok easy tone reebok wholesale reebok wholesale reebok easytone wholesale reebok easytone wholesale wholesale reebok shoes wholesale reebok shoes tory burch tory burch tory burch shoes tory burch shoes vibram five fingers vibram five fingers vibram five finger shoes vibram five finger shoes five finger shoes five finger shoes nfl jerseys nfl jerseys nfl jerseys wholesale nfl jerseys wholesale cheap nfl jerseys cheap nfl jerseys christian louboutin christian louboutin christian louboutin shoes christian louboutin shoes christian louboutin boots christian louboutin boots ed hardy Ed Hardy ed hardy clothing ed hardy clothing ed hardy shoes ed hardy shoes ed hardy ED Hardy ed hardy bikini ed hardy bikini ed hardy t-shirts ed hardy t-shirts mlb trade rumors mlb trade rumors skechers develops skechers develops reebok careers reebok careers cheap car insurance cheap car insurance home loans home loans world cup jerseys world cup jerseys 2010 world cup soccer jersey 2010 world cup soccer jersey football jerseys football jerseys world cup jerseys world cup jerseys 2010 world cup jerseys 2010 world cup jerseys soccer jersey soccer jersey wholesale mlb jerseys wholesale mlb jerseys wholesale mlb jersey wholesale mlb jersey mlb jerseys made in china mlb jerseys made in china ugg boots ugg boots cheap ugg boots cheap ugg boots discount ugg boots discount ugg boots wholesale Vibram five fingers shoes Wholesale Vibram five fingers shoes wholesale Vibram five fingers Wholesale Vibram five fingers discount vibram five fingers discount vibram five fingers mbt shoes mbt shoes mbt shoes cheap mbt shoes cheap discount mbt shoes discount mbt shoes cheap mlb jerseys cheap mlb jerseys mlb jerseys mlb jerseys mlb jersey mlb jersey shape ups shoes shape ups shoes shape up shoes shape up shoes skechers skechers ghd wholesale ghd wholesale ghd hair straighteners wholesale ghd hair straighteners wholesale wholesale chi wholesale chi wholesale ghd wholesale ghd wholesale ghd hair straighteners wholesale ghd hair straighteners wholesale ghd suppliers wholesale ghd suppliers ugg boots ugg boots discount ugg boots discount ugg boots cheap ugg boots cheap ugg boots ugg boots ugg boots uggs uggs cheap ugg boots cheap ugg boots