org.apache.synapse.core.axis2
Class AnonymousServiceFactory

java.lang.Object
  extended by 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
static String OUT_IN_OPERATION
           
static String OUT_ONLY_OPERATION
           
 
Constructor Summary
AnonymousServiceFactory()
           
 
Method Summary
static AxisService getAnonymousService(SynapseConfiguration synCfg, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

AnonymousServiceFactory

public AnonymousServiceFactory()
Method Detail

getAnonymousService

public static AxisService getAnonymousService(SynapseConfiguration synCfg,
                                              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 configuration
axisCfg - Axis2 configuration
wsAddrOn - whether addressing is on or not
wsRMOn - whether RM is on ot not
wsSecOn - whether security is on or not
Returns:
An Axis service for the requested QoS


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.