1 package com.indexdata.mkjsf.pazpar2.commands.sp;
\r
3 import java.io.Serializable;
\r
5 import org.apache.log4j.Logger;
\r
7 import com.indexdata.mkjsf.pazpar2.state.StateManager;
\r
8 import com.indexdata.mkjsf.utils.Utils;
\r
10 public class ServiceProxyCommands implements Serializable {
\r
12 public static final String AUTH = "auth";
\r
13 private static final long serialVersionUID = 6223527018096841188L;
\r
14 private static Logger logger = Logger.getLogger(ServiceProxyCommands.class);
\r
15 private StateManager stateMgr = null;
\r
17 public ServiceProxyCommands(StateManager stateMgr) {
\r
18 logger.info("Initializing ServiceProxyCommands [" + Utils.objectId(this) + "]");
\r
19 this.stateMgr = stateMgr;
\r
23 public AuthCommand getAuth() {
\r
24 return (AuthCommand) (stateMgr.getCommand(AUTH));
\r