That looks a lot like the query() method, but it will only return one
Profile, where the query() method returns a collection of profiles.

You could delegate to the query() method. The problem is you cannot
guarantee that a ProfileLocator() will specify one exact Profile.

Maybe a better way would be to have one parameter: the ProfileLocator, which
is constructed by a factory method, taking RunData as a parameter.

----- Original Message -----
From: "Norman Sch�neich" <[EMAIL PROTECTED]>
To: "Jetspeed-Dev" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 9:52 AM
Subject: AW: Jetspeed and Oracle.


> Hi,
> what's about the profiler:
>
> i want to use this method, but not implemented..... (return null)
>
> public Profile getProfile(RunData data, ProfileLocator locator)
>         throws ProfileException
> {
>   PSMLDocument doc =  fallback( locator, data );
>   return null;
> }
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to