/** * A shortcut method for directly returning the XML workitem coder * (no need to ask it to the workitem coder loader). */ public static XmlWorkItemCoder getXmlCoder (final ApplicationContext context) { return (XmlWorkItemCoder)getWorkItemCoderLoader(context).getXmlCoder(); }
public void init (final RestService service, final Long sessionId, final String username, final String password) throws ServiceException { super.init(service, sessionId, username, password); // // locating the coder that will be used final WorkItemCoderLoader loader = openwfe.org.engine.Definitions .getWorkItemCoderLoader(this.getService().getContext()); if (log.isDebugEnabled()) log.debug("init() loader is "+loader); this.coder = (XmlWorkItemAndHeaderCoder)loader.getXmlCoder(); log.info ("HeaderCoder successfully located"); }
public void init (final RestService service, final Long sessionId, final String username, final String password) throws ServiceException { super.init(service, sessionId, username, password); // // locating the coder that will be used final WorkItemCoderLoader loader = Definitions .getWorkItemCoderLoader(this.getService().getContext()); this.coder = (XmlWorkItemCoder)loader.getXmlCoder(); log.info ("WorkItemCoder successfully located"); }
.getWorkItemCoderLoader(this.context()).getXmlCoder();
.getWorkItemCoderLoader(this.context()).getXmlCoder();
final WorkItemCoder coder = coderLoader.getXmlCoder();