jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Smuts (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCS-55) Custom serializaer is not always used
Date Mon, 02 Feb 2009 16:15:59 GMT

    [ https://issues.apache.org/jira/browse/JCS-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669642#action_12669642

Aaron Smuts commented on JCS-55:

I think it has to do with the initialization order.  The factory calls the manager, the manager
creates the IndexedDiskCache and then sets the serializer.  But it's too late.  The IndexedDiskCache
creates the IndexedDisk object, which uses the serilizer, in its constructor. 

> Custom serializaer is not always used
> -------------------------------------
>                 Key: JCS-55
>                 URL: https://issues.apache.org/jira/browse/JCS-55
>             Project: JCS
>          Issue Type: Bug
>          Components: Indexed Disk Cache
>            Reporter: Alexander Sofronov
>            Assignee: Aaron Smuts
> I'm trying to use indexed disk cache with custom serializer feature. I added the following
line to my cache.ccf:
> jcs.auxiliary.DC.serializer=mypackage.MySerializer
> I see that my serializer is used for serializing only, deSerialize method is never called.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org

View raw message