org.hibernate.event.EventListeners Java Examples

The following examples show how to use org.hibernate.event.EventListeners. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Configuration.java    From cacheonix-core with GNU Lesser General Public License v2.1 6 votes vote down vote up
protected void reset() {
		classes = new HashMap();
		imports = new HashMap();
		collections = new HashMap();
		tables = new TreeMap();
		namedQueries = new HashMap();
		namedSqlQueries = new HashMap();
		sqlResultSetMappings = new HashMap();
		xmlHelper = new XMLHelper();
		typeDefs = new HashMap();
		propertyReferences = new ArrayList();
		secondPasses = new ArrayList();
		interceptor = EmptyInterceptor.INSTANCE;
		properties = Environment.getProperties();
		entityResolver = XMLHelper.DEFAULT_DTD_RESOLVER;
		eventListeners = new EventListeners();
		filterDefinitions = new HashMap();
//		extendsQueue = new ArrayList();
		extendsQueue = new HashMap();
		auxiliaryDatabaseObjects = new ArrayList();
		tableNameBinding = new HashMap();
		columnNameBindingPerTable = new HashMap();
		namingStrategy = DefaultNamingStrategy.INSTANCE;
		sqlFunctions = new HashMap();
	}
 
Example #2
Source File: Configuration.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
private EventListeners getInitializedEventListeners() {
	EventListeners result = (EventListeners) eventListeners.shallowCopy();
	result.initializeListeners( this );
	return result;
}
 
Example #3
Source File: Configuration.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public EventListeners getEventListeners() {
	return eventListeners;
}
 
Example #4
Source File: SessionImpl.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public EventListeners getListeners() {
	return listeners;
}
 
Example #5
Source File: SessionFactoryImpl.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public EventListeners getEventListeners()
{
	return eventListeners;
}
 
Example #6
Source File: StatelessSessionImpl.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public EventListeners getListeners() {
	throw new UnsupportedOperationException();
}
 
Example #7
Source File: SessionImplementor.java    From cacheonix-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Retrieves the configured event listeners from this event source.
 *
 * @return The configured event listeners.
 */
public EventListeners getListeners();