Thanks!
Ernesto
Eelco Hillenius wrote:
>
> done.
>
> Eelco
>
> On 1/5/07, Ernesto Reinaldo Barreiro <[EMAIL PROTECTED]> wrote:
>>
>> Dear Wicket Devs,
>>
>> Would it be possible to remove the final modifier on
>>
>> protected final ISessionFactory getSessionFactory()
>> {
>> return new ISessionFactory()
>> {
>> private static final long serialVersionUID = 1L;
>>
>> public Session newSession(Request request)
>> {
>> return newSession();
>> }
>>
>> public Session newSession()
>> {
>> try
>> {
>> return webSessionClass
>>
>> .getDeclaredConstructor(AuthenticatedWebApplication.class).newInstance(
>>
>> AuthenticatedWebApplication.this);
>> }
>> catch (Exception e)
>> {
>> throw new
>> WicketRuntimeException("Unable to instantiate web session
>> class "
>> +
>> webSessionClass, e);
>> }
>> }
>> };
>> }
>>
>> of the class AuthenticatedWebApplication on the wicket-auth-roles
>> project?
>> In some application we need to override this method mainly because my
>> webSessionClass class does not have a constructor accepting an
>> AuthenticatedWebApplication class but a constructor accepting a subclass
>> of
>> AuthenticatedWebApplication.class.
>>
>> Kind regards,
>>
>> Ernesto
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/final-modifier-on-AuthenticatedWebApplication-getSessionFactory-method-%282.0-branch%29-tf2925663.html#a8178503
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/final-modifier-on-AuthenticatedWebApplication-getSessionFactory-method-%282.0-branch%29-tf2925663.html#a8214828
Sent from the Wicket - Dev mailing list archive at Nabble.com.