You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Michael Gentry <mg...@masslight.net> on 2009/03/20 15:09:00 UTC

Types of Callbacks

I just noticed that under the "Types of Callbacks" heading on
http://cayenne.apache.org/doc/lifecycle-callbacks.html it says "Valid
callback types are defined as int constants in the LifecycleListener
interface."  However, I'm looking at the
org.apache.cayenne.LifecycleListener interface (unless there are
multiple ones and I'm looking at the wrong one) and there are no int
constants (or enums).

What should this say?

Thanks,

mrg

Re: Types of Callbacks

Posted by Michael Gentry <mg...@masslight.net>.
OK, thanks Andrey.  I can't fix the docs right now, but I'll do it
tonight or over the weekend if someone doesn't beat me to it.

mrg


On Fri, Mar 20, 2009 at 10:17 AM, Andrey Razumovsky
<ra...@gmail.com> wrote:
> They're in LifecycleEvent enum, so there's a mistake in docs
>
> 2009/3/20 Michael Gentry <mg...@masslight.net>
>
>> I just noticed that under the "Types of Callbacks" heading on
>> http://cayenne.apache.org/doc/lifecycle-callbacks.html it says "Valid
>> callback types are defined as int constants in the LifecycleListener
>> interface."  However, I'm looking at the
>> org.apache.cayenne.LifecycleListener interface (unless there are
>> multiple ones and I'm looking at the wrong one) and there are no int
>> constants (or enums).
>>
>> What should this say?
>>
>> Thanks,
>>
>> mrg
>>
>

Re: Types of Callbacks

Posted by Andrey Razumovsky <ra...@gmail.com>.
They're in LifecycleEvent enum, so there's a mistake in docs

2009/3/20 Michael Gentry <mg...@masslight.net>

> I just noticed that under the "Types of Callbacks" heading on
> http://cayenne.apache.org/doc/lifecycle-callbacks.html it says "Valid
> callback types are defined as int constants in the LifecycleListener
> interface."  However, I'm looking at the
> org.apache.cayenne.LifecycleListener interface (unless there are
> multiple ones and I'm looking at the wrong one) and there are no int
> constants (or enums).
>
> What should this say?
>
> Thanks,
>
> mrg
>