/** * Delegates to the wrapped marshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. */ @Override public void setListener(final Listener listener) { if (!isPropertySaved(Listener.class)) { saveProperty(Listener.class, marshaller.getListener()); } marshaller.setListener(listener); }
/** * Delegates to the wrapped marshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. */ @Override public void setAttachmentMarshaller(final AttachmentMarshaller am) { if (!isPropertySaved(AttachmentMarshaller.class)) { saveProperty(AttachmentMarshaller.class, marshaller.getAttachmentMarshaller()); } marshaller.setAttachmentMarshaller(am); }
/** * Delegates to the wrapped marshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. */ @Override public void setAttachmentMarshaller(final AttachmentMarshaller am) { if (!isPropertySaved(AttachmentMarshaller.class)) { saveProperty(AttachmentMarshaller.class, marshaller.getAttachmentMarshaller()); } marshaller.setAttachmentMarshaller(am); }
/** * Delegates to the wrapped marshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. */ @Override public void setListener(final Listener listener) { if (!isPropertySaved(Listener.class)) { saveProperty(Listener.class, marshaller.getListener()); } marshaller.setListener(listener); }