public static EgoiApiRestImpl getInstance() { if (instance == null) { instance = new EgoiApiRestImpl(); } return(instance); }
public static EgoiApi getApi(Protocol protocol) { switch (protocol) { default: case Protocol.XmlRpc: return(EgoiApiXmlRpcImpl.getInstance()); case Protocol.Rest: return(EgoiApiRestImpl.getInstance()); } }
public static EgoiApiRestImpl getInstance() { if (instance == null) instance = new EgoiApiRestImpl(); return instance; }