Java 类javax.enterprise.inject.Model 实例源码

项目:pv243-jboss    文件:ResourceProducer.java   
@Produces
@Model
@CurrentPerson
public PersonWrapper getCurrentPerson() {
    return new PersonWrapper(identity.getUser().<Person>getAttribute("person").getValue());
}