org.compass.core.events
Interface PreCreateResourceEventListener

All Known Implementing Classes:
CompassEventManager

public interface PreCreateResourceEventListener

An event called before an object is created and accepts the Resource that represents it. 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(Resource resource)
          An event called before an object is created and accepts the Resource that represents it.
 

Method Detail

onPreCreate

FilterOperation onPreCreate(Resource resource)
An event called before an object is created and accepts the Resource that represents it. Maps to the create opeation on the session. Returns if this operation should be filtered or not.



Copyright (c) 2004-2008 The Compass Project.