org.jvnet.hyperjaxb3.ejb.strategy.processor
Class MappingFilePersistenceProcessor
java.lang.Object
org.jvnet.hyperjaxb3.ejb.strategy.processor.MappingFilePersistenceProcessor
- All Implemented Interfaces:
- OutlineProcessor<EjbPlugin>
public class MappingFilePersistenceProcessor
- extends Object
- implements OutlineProcessor<EjbPlugin>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingFilePersistenceProcessor
public MappingFilePersistenceProcessor()
getPersistenceFactory
public PersistenceFactory getPersistenceFactory()
setPersistenceFactory
public void setPersistenceFactory(PersistenceFactory persistenceFactory)
getPersistenceMarshaller
public PersistenceMarshaller getPersistenceMarshaller()
setPersistenceMarshaller
public void setPersistenceMarshaller(PersistenceMarshaller persistenceMarshaller)
getNaming
public Naming getNaming()
setNaming
public void setNaming(Naming naming)
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
getOutlineProcessor
public OutlineProcessor<EjbPlugin> getOutlineProcessor()
setOutlineProcessor
public void setOutlineProcessor(OutlineProcessor<EjbPlugin> outlineProcessor)
createPersistence
protected Persistence createPersistence(EjbPlugin plugin,
Persistence.PersistenceUnit persistenceUnit,
String persistenceUnitName)
throws JAXBException
- Throws:
JAXBException
getPersistenceUnitFactory
public PersistenceUnitFactory getPersistenceUnitFactory()
setPersistenceUnitFactory
public void setPersistenceUnitFactory(PersistenceUnitFactory persistenceUnitFactory)
Copyright © 2005-2014. All Rights Reserved.