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