org.apache.webbeans.resource.spi.se
Class StandaloneResourceProcessor

java.lang.Object
  extended by org.apache.webbeans.resource.spi.se.StandaloneResourceProcessor

public class StandaloneResourceProcessor
extends Object


Constructor Summary
StandaloneResourceProcessor()
           
 
Method Summary
 void clear()
           
<X> X
getEntityManager(javax.persistence.PersistenceContext persistenceContext, Class<X> clazz)
           
<X> X
getEntityManagerFactory(javax.persistence.PersistenceUnit persistenceUnit, Class<X> clazz)
           
static StandaloneResourceProcessor getProcessor()
           
<X> X
getResource(javax.annotation.Resource resource, Class<X> resourceType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandaloneResourceProcessor

public StandaloneResourceProcessor()
Method Detail

getProcessor

public static StandaloneResourceProcessor getProcessor()

getEntityManager

public <X> X getEntityManager(javax.persistence.PersistenceContext persistenceContext,
                              Class<X> clazz)

getEntityManagerFactory

public <X> X getEntityManagerFactory(javax.persistence.PersistenceUnit persistenceUnit,
                                     Class<X> clazz)

getResource

public <X> X getResource(javax.annotation.Resource resource,
                         Class<X> resourceType)

clear

public void clear()


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.