org.jvnet.hyperjaxb3.ejb.strategy.processor
Class ClassPersistenceProcessor

java.lang.Object
  extended by org.jvnet.hyperjaxb3.ejb.strategy.processor.ClassPersistenceProcessor
All Implemented Interfaces:
OutlineProcessor<EjbPlugin>

public class ClassPersistenceProcessor
extends Object
implements OutlineProcessor<EjbPlugin>


Constructor Summary
ClassPersistenceProcessor()
           
 
Method Summary
protected  Persistence createPersistence(EjbPlugin plugin, Persistence.PersistenceUnit persistenceUnit, String persistenceUnitName)
           
 Naming getNaming()
           
 OutlineProcessor<EjbPlugin> getOutlineProcessor()
           
 PersistenceFactory getPersistenceFactory()
           
 PersistenceMarshaller getPersistenceMarshaller()
           
 PersistenceUnitFactory getPersistenceUnitFactory()
           
 Collection<com.sun.tools.xjc.outline.ClassOutline> process(EjbPlugin plugin, com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options)
           
 void setNaming(Naming naming)
           
 void setOutlineProcessor(OutlineProcessor<EjbPlugin> outlineProcessor)
           
 void setPersistenceFactory(PersistenceFactory persistenceFactory)
           
 void setPersistenceMarshaller(PersistenceMarshaller persistenceMarshaller)
           
 void setPersistenceUnitFactory(PersistenceUnitFactory persistenceUnitFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPersistenceProcessor

public ClassPersistenceProcessor()
Method Detail

getNaming

public Naming getNaming()

setNaming

public void setNaming(Naming naming)

getPersistenceFactory

public PersistenceFactory getPersistenceFactory()

setPersistenceFactory

public void setPersistenceFactory(PersistenceFactory persistenceFactory)

getPersistenceMarshaller

public PersistenceMarshaller getPersistenceMarshaller()

setPersistenceMarshaller

public void setPersistenceMarshaller(PersistenceMarshaller persistenceMarshaller)

process

public Collection<com.sun.tools.xjc.outline.ClassOutline> process(EjbPlugin plugin,
                                                                  com.sun.tools.xjc.outline.Outline outline,
                                                                  com.sun.tools.xjc.Options options)
                                                           throws Exception
Specified by:
process in interface OutlineProcessor<EjbPlugin>
Throws:
Exception

createPersistence

protected Persistence createPersistence(EjbPlugin plugin,
                                        Persistence.PersistenceUnit persistenceUnit,
                                        String persistenceUnitName)
                                 throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

getOutlineProcessor

public OutlineProcessor<EjbPlugin> getOutlineProcessor()

setOutlineProcessor

public void setOutlineProcessor(OutlineProcessor<EjbPlugin> outlineProcessor)

getPersistenceUnitFactory

public PersistenceUnitFactory getPersistenceUnitFactory()

setPersistenceUnitFactory

public void setPersistenceUnitFactory(PersistenceUnitFactory persistenceUnitFactory)


Copyright © 2005-2011. All Rights Reserved.