Home » synapse-1.2-src » org.apache.synapse.mediators.spring » [javadoc | source]
org.apache.synapse.mediators.spring
public class: SpringMediator [javadoc | source]
java.lang.Object
   org.apache.synapse.mediators.AbstractMediator
      org.apache.synapse.mediators.spring.SpringMediator

All Implemented Interfaces:
    ManagedLifecycle, Mediator

This mediator allows Spring beans implementing the org.apache.synapse.Mediator interface to mediate messages passing through Synapse. A Spring mediator is instantiated by Spring (see www.springframework.org). The mediator refers to a Spring bean name, and also either a Spring configuration defined to Synapse or an inlined Spring configuration.
Fields inherited from org.apache.synapse.mediators.AbstractMediator:
log,  trace,  traceState
Method from org.apache.synapse.mediators.spring.SpringMediator Summary:
destroy,   getAppContext,   getBeanName,   getConfigKey,   getType,   init,   mediate,   setAppContext,   setBeanName,   setConfigKey
Methods from org.apache.synapse.mediators.AbstractMediator:
auditLog,   auditWarn,   getTraceState,   getType,   handleException,   handleException,   isTraceOn,   isTraceOrDebugOn,   setEffectiveTraceState,   setTraceState,   shouldTrace,   traceOrDebug,   traceOrDebugWarn
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.synapse.mediators.spring.SpringMediator Detail:
 public  void destroy() 
 public ApplicationContext getAppContext() 
 public String getBeanName() 
 public String getConfigKey() 
 public String getType() 
 public  void init(SynapseEnvironment se) 
 public boolean mediate(MessageContext synCtx) 
 public  void setAppContext(ApplicationContext appContext) 
 public  void setBeanName(String beanName) 
 public  void setConfigKey(String configKey)