예제 #1
0
 public static void checkCurrentMementoSerializable(ManagementContext mgmt) throws Exception {
   BrooklynMemento memento = MementosGenerators.newBrooklynMemento(mgmt);
   serializeAndDeserialize(memento);
 }
예제 #2
0
 public static void checkMementoSerializable(Application app) throws Exception {
   BrooklynMemento memento = MementosGenerators.newBrooklynMemento(app.getManagementContext());
   checkMementoSerializable(memento);
 }