Package org.jboss.as.jpa.service

Examples of org.jboss.as.jpa.service.PersistenceContextInjectorService$PersistenceContextJndiInjectable


        String name = annotation.target().toString()// TODO: come up with a better name
        String scopedPuName = getScopedPuName(deploymentUnit, annotation);
        ServiceName puServiceName = getPuServiceName(scopedPuName);
        ServiceName injectorName = ServiceName.of(puServiceName, name);
        if (isPersistenceContext(annotation)) {
            phaseContext.getServiceTarget().addService(injectorName, new PersistenceContextInjectorService(annotation, puServiceName, deploymentUnit, scopedPuName))
            .addDependency(puServiceName)
            .setInitialMode(ServiceController.Mode.ACTIVE)
            .install();
        }
        else {
View Full Code Here

TOP

Related Classes of org.jboss.as.jpa.service.PersistenceContextInjectorService$PersistenceContextJndiInjectable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.