01: package org.objectweb.celtix.bus.ws.rm;
02:
03: import javax.xml.namespace.QName;
04:
05: import org.objectweb.celtix.ws.rm.RMConstants;
06:
07: /**
08: * Encapsulation of version-specific WS-RM constants.
09: */
10: public class RMConstantsImpl implements RMConstants {
11:
12: public String getNamespaceURI() {
13: return Names.WSRM_NAMESPACE_NAME;
14: }
15:
16: public String getRMPolicyNamespaceURI() {
17: return Names.WSRMP_NAMESPACE_NAME;
18: }
19:
20: public String getWSDLNamespaceURI() {
21: return Names.WSRM_WSDL_NAMESPACE_NAME;
22: }
23:
24: public String getCreateSequenceAction() {
25: return Names.WSRM_CREATE_SEQUENCE_ACTION;
26: }
27:
28: public String getCreateSequenceResponseAction() {
29: return Names.WSRM_CREATE_SEQUENCE_RESPONSE_ACTION;
30: }
31:
32: public String getTerminateSequenceAction() {
33: return Names.WSRM_TERMINATE_SEQUENCE_ACTION;
34: }
35:
36: public String getLastMessageAction() {
37: return Names.WSRM_LAST_MESSAGE_ACTION;
38: }
39:
40: public String getSequenceAcknowledgmentAction() {
41: return Names.WSRM_SEQUENCE_ACKNOWLEDGMENT_ACTION;
42: }
43:
44: public String getSequenceInfoAction() {
45: return Names.WSRM_SEQUENCE_INFO_ACTION;
46: }
47:
48: public QName getUnknownSequenceFaultCode() {
49: return new QName(Names.WSRM_NAMESPACE_NAME,
50: Names.WSRM_UNKNOWN_SEQUENCE_FAULT_CODE);
51: }
52:
53: public QName getSequenceTerminatedFaultCode() {
54: return new QName(Names.WSRM_NAMESPACE_NAME,
55: Names.WSRM_SEQUENCE_TERMINATED_FAULT_CODE);
56: }
57:
58: public QName getInvalidAcknowledgmentFaultCode() {
59: return new QName(Names.WSRM_NAMESPACE_NAME,
60: Names.WSRM_INVALID_ACKNOWLEDGMENT_FAULT_CODE);
61: }
62:
63: public QName getMessageNumberRolloverFaultCode() {
64: return new QName(Names.WSRM_NAMESPACE_NAME,
65: Names.WSRM_MESSAGE_NUMBER_ROLLOVER_FAULT_CODE);
66: }
67:
68: public QName getCreateSequenceRefusedFaultCode() {
69: return new QName(Names.WSRM_NAMESPACE_NAME,
70: Names.WSRM_CREATE_SEQUENCE_REFUSED_FAULT_CODE);
71: }
72:
73: public QName getLastMessageNumberExceededFaultCode() {
74: return new QName(Names.WSRM_NAMESPACE_NAME,
75: Names.WSRM_LAST_MESSAGE_NUMBER_EXCEEDED_FAULT_CODE);
76: }
77:
78: }
|