147148149150151152153154155156157
} public static String getStringObject(byte[] bytes) { try { Marshaller sm = new JBossMarshaller(); return (String) sm.objectFromByteBuffer(bytes); } catch (Exception e) { throw new RuntimeException(e); } } }
100101102103104105106107108109
return super.visitPutKeyValueCommand(ctx, command); } private String unmarshall(Object key) throws Exception { Marshaller marshaller = new JBossMarshaller(); return (String) marshaller.objectFromByteBuffer((byte[]) key); } } }
102103104105106107108109110111
148149150151152153154155156157158