Package org.apache.synapse.core.axis2
Class AnonymousServiceFactory
- java.lang.Object
-
- org.apache.synapse.core.axis2.AnonymousServiceFactory
-
public class AnonymousServiceFactory extends Object
Returns an anonymous service for the given QoS. If an instance does not already exist, create one and set it to the Axis configuration
-
-
Field Summary
Fields Modifier and Type Field Description static String
OUT_IN_OPERATION
static String
OUT_ONLY_OPERATION
-
Constructor Summary
Constructors Constructor Description AnonymousServiceFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.axis2.description.AxisService
getAnonymousService(org.apache.axis2.engine.AxisConfiguration axisCfg, String serviceKey)
static org.apache.axis2.description.AxisService
getAnonymousService(SynapseConfiguration synCfg, org.apache.axis2.engine.AxisConfiguration axisCfg, boolean wsAddrOn, boolean wsRMOn, boolean wsSecOn)
Creates an AxisService for the requested QoS for sending out messages Callers must guarantee that if wsRMon or wsSecOn is required, that wsAddrOn is also setstatic org.apache.axis2.description.AxisService
getAnonymousService(SynapseConfiguration synCfg, org.apache.axis2.engine.AxisConfiguration axisCfg, boolean wsAddrOn, boolean wsRMOn, boolean wsSecOn, boolean setCallback)
Creates an AxisService for the requested QoS for sending out messages Callers must guarantee that if wsRMon or wsSecOn is required, that wsAddrOn is also set
-
-
-
Field Detail
-
OUT_IN_OPERATION
public static final String OUT_IN_OPERATION
- See Also:
- Constant Field Values
-
OUT_ONLY_OPERATION
public static final String OUT_ONLY_OPERATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAnonymousService
public static org.apache.axis2.description.AxisService getAnonymousService(SynapseConfiguration synCfg, org.apache.axis2.engine.AxisConfiguration axisCfg, boolean wsAddrOn, boolean wsRMOn, boolean wsSecOn)
Creates an AxisService for the requested QoS for sending out messages Callers must guarantee that if wsRMon or wsSecOn is required, that wsAddrOn is also set- Parameters:
synCfg
- Synapse configurationaxisCfg
- Axis2 configurationwsAddrOn
- whether addressing is on or notwsRMOn
- whether RM is on ot notwsSecOn
- whether security is on or not- Returns:
- An Axis service for the requested QoS
-
getAnonymousService
public static org.apache.axis2.description.AxisService getAnonymousService(SynapseConfiguration synCfg, org.apache.axis2.engine.AxisConfiguration axisCfg, boolean wsAddrOn, boolean wsRMOn, boolean wsSecOn, boolean setCallback)
Creates an AxisService for the requested QoS for sending out messages Callers must guarantee that if wsRMon or wsSecOn is required, that wsAddrOn is also set- Parameters:
synCfg
- Synapse configurationaxisCfg
- Axis2 configurationwsAddrOn
- whether addressing is on or notwsRMOn
- whether RM is on ot notwsSecOn
- whether security is on or notsetCallback
- whether to register a synapse callback receiver or not- Returns:
- An Axis service for the requested QoS
-
getAnonymousService
public static org.apache.axis2.description.AxisService getAnonymousService(org.apache.axis2.engine.AxisConfiguration axisCfg, String serviceKey) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
-