com.caucho.env.jpa
Class ListenerPersistenceEnvironment
java.lang.Object
com.caucho.env.jpa.ListenerPersistenceEnvironment
- All Implemented Interfaces:
- AddLoaderListener, java.util.EventListener
public class ListenerPersistenceEnvironment
- extends java.lang.Object
- implements AddLoaderListener
Listener for environment start to detect and load persistence.xml
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ListenerPersistenceEnvironment
public ListenerPersistenceEnvironment()
isEnhancer
public boolean isEnhancer()
- Specified by:
isEnhancer
in interface AddLoaderListener
addLoader
public void addLoader(EnvironmentClassLoader loader)
- Handles the case where the environment is starting (after init).
- Specified by:
addLoader
in interface AddLoaderListener
environmentStop
public void environmentStop(EnvironmentClassLoader loader)
- Handles the case where the environment is stopping
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object