X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fcom%2Findexdata%2Fmkjsf%2Fpazpar2%2Fcommands%2FStatCommand.java;h=355c6f2719bd433cf0f93d14f13a0138ac0e5161;hb=6c92dd9a72ae1fa27dd061c1897531879b8c0ba6;hp=5229060b0f831061f750623824559a0191779d44;hpb=86f289cd42ba95846c80d22129ed565e4e9d6dde;p=mkjsf-moved-to-github.git diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java index 5229060..355c6f2 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java @@ -1,9 +1,10 @@ package com.indexdata.mkjsf.pazpar2.commands; import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand; +import com.indexdata.mkjsf.pazpar2.commands.sp.StatCommandSp; /** - * Represents a Pazpar2 stat command, can be accessed by pzreq.state + * stat Pazpar2 command, referenced as: pzreq.stat * * @author Niels Erik * @@ -26,7 +27,7 @@ public class StatCommand extends Pazpar2Command implements ServiceProxyCommand { @Override public ServiceProxyCommand getSp() { - return this; + return new StatCommandSp(this); } @Override