/** * Clone the WorkManager implementation * @return A copy of the implementation * @exception CloneNotSupportedException Thrown if the copy operation isn't supported * */ @Override public WorkManager clone() throws CloneNotSupportedException { WorkManagerImpl wm = (WorkManagerImpl) super.clone(); wm.setId(getId()); wm.setName(getName()); wm.setShortRunningThreadPool(getShortRunningThreadPool()); wm.setLongRunningThreadPool(getLongRunningThreadPool()); wm.setXATerminator(getXATerminator()); wm.setSpecCompliant(isSpecCompliant()); wm.setCallbackSecurity(getCallbackSecurity()); wm.setSecurityIntegration(getSecurityIntegration()); wm.setStatistics(statistics); return wm; }