org.compass.core.events
Interface PreCreateEventListener

All Known Implementing Classes:
CompassEventManager

public interface PreCreateEventListener

An event called before an object is created. Maps to the create opeation on the session.

The listener can implement CompassAware, CompassMappingAware, or CompassConfigurable in order to be injected with other relevant instances of Compass.

Author:
kimchy

Method Summary
 FilterOperation onPreCreate(String alias, Object obj)
          An event called before an object is created.
 

Method Detail

onPreCreate

FilterOperation onPreCreate(String alias,
                            Object obj)
An event called before an object is created. Maps to the create opeation on the session. Returns if this operation should be filtered or not.



Copyright (c) 2004-2008 The Compass Project.