com.caucho.env.jpa
Class ConfigJpaPersistenceUnit

java.lang.Object
  extended by com.caucho.env.jpa.ConfigJpaPersistenceUnit

public class ConfigJpaPersistenceUnit
extends java.lang.Object

tag in the resin-web.xml


Constructor Summary
ConfigJpaPersistenceUnit()
           
 
Method Summary
 void addBuilderProgram(ConfigProgram program)
           
 java.lang.String getName()
          Returns the unit name.
 java.net.URL getPath()
          Returns the path to the unit
 ContainerProgram getProgram()
           
 void init()
           
 void setName(java.lang.String name)
          Sets the unit name.
 void setPath(java.net.URL root)
          Sets the path to the unit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigJpaPersistenceUnit

public ConfigJpaPersistenceUnit()
Method Detail

getName

public java.lang.String getName()
Returns the unit name.


setName

public void setName(java.lang.String name)
Sets the unit name.


setPath

public void setPath(java.net.URL root)
Sets the path to the unit


getPath

public java.net.URL getPath()
Returns the path to the unit


addBuilderProgram

public void addBuilderProgram(ConfigProgram program)

getProgram

public ContainerProgram getProgram()

init

@PostConstruct
public void init()