
org.nofdev.servicefacade.ServiceContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-core Show documentation
Show all versions of service-core Show documentation
The basic componet of Nofdev RPC framework
package org.nofdev.servicefacade;
import java.util.HashMap;
/**
* Created by Qiang on 11/4/15.
*/
public class ServiceContext extends HashMap {
public static final String PREFIX = "Service-Context";
public static final String CALLID = "Service-Context-CallId";
public void setCallId(CallId callId) {
put(CALLID, callId);
}
public CallId getCallId() {
if (get(CALLID) != null) {
return (CallId) get(CALLID);
} else {
return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy