Commit 92453cef authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added support for setting/retrieving strategy to use.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8134 b35dd754-fafc-0310-a699-88a17e54d16e
parent bec12557
...@@ -42,6 +42,28 @@ public class ExternalizableUtil { ...@@ -42,6 +42,28 @@ public class ExternalizableUtil {
return instance; return instance;
} }
/**
* Sets the implementation to use for serializing and deserializing
* objects.
*
* @param strategy the new strategy to use.
*/
public void setStrategy(ExternalizableUtilStrategy strategy) {
this.strategy = strategy;
}
/**
* Returns the implementation to use for serializing and deserializing
* objects.
*
* @return the implementation to use for serializing and deserializing
* objects.
*/
public ExternalizableUtilStrategy getStrategy() {
return strategy;
}
/** /**
* Hidding constructor. We only want one single instance. * Hidding constructor. We only want one single instance.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment