[
https://issues.jboss.org/browse/ISPN-2133?page=com.atlassian.jira.plugin....
]
Dan Berindei commented on ISPN-2133:
------------------------------------
We don't currently allow SPIs to use our injection mechanism, so we'd need to
start a discussion about that before we can think about the injection option.
Modifying the marshalling API to give the externalizer a reference to the cache manager
would be possible, but I don't think doing a component lookup on every deserialization
is a good idea.
As a workaround, you can construct your externalizer with a reference to your service, and
register it with {{globalConfigBuilder.serialization().addAdvancedExternalizer(new
CustomExternalizer(service))}}.
Provide a context for object de-serialization
---------------------------------------------
Key: ISPN-2133
URL:
https://issues.jboss.org/browse/ISPN-2133
Project: Infinispan
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Core
Reporter: Sanne Grinovero
Assignee: Manik Surtani
See proposal description at
http://lists.jboss.org/pipermail/infinispan-dev/2012-June/010925.html
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)