|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.binding.soap.SoapComponentContext
public class SoapComponentContext
The SOAP component context. The context is filled by the SU listener (adding modules, service descriptions...) and used by the listeners/workers.
| Nested Class Summary | |
|---|---|
class |
SoapComponentContext.ServiceManager<E>
|
| Field Summary | |
|---|---|
protected org.ow2.petals.ws.notification.WsnManager |
wsnManager
The web service notification manager |
| Constructor Summary | |
|---|---|
SoapComponentContext(javax.jbi.component.ComponentContext context,
org.ow2.petals.component.framework.jbidescriptor.generated.Component componentConfiguration,
java.util.logging.Logger logger)
Creates a new instance of SoapComponentContext |
|
| Method Summary | |
|---|---|
void |
addJbiDescriptor(java.lang.String serviceUnitName,
org.ow2.petals.component.framework.jbidescriptor.generated.Jbi jbiDescriptor)
Add a JBIDescriptor |
void |
addServiceDescriptor(java.lang.String serviceUnitName,
java.io.File serviceDescriptor)
Add a JBIDescriptor |
ServiceClient |
borrowServiceClient(java.lang.String address,
javax.xml.namespace.QName operation,
java.lang.String soapAction,
java.net.URI mep,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions cdkExtensions,
org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides,
java.lang.String rampartUserName)
Get a service client associated to an axis service set with the good operation. |
org.apache.axis2.context.ConfigurationContext |
getAxis2ConfigurationContext()
|
org.ow2.petals.component.framework.jbidescriptor.generated.Component |
getComponentConfiguration()
|
SoapComponentContext.ServiceManager<org.ow2.petals.component.framework.jbidescriptor.generated.Consumes> |
getConsumersManager()
|
org.ow2.petals.component.framework.jbidescriptor.generated.Jbi |
getJbiDescriptor(java.lang.String serviceUnitName)
Get the JBI descriptor for the given address. |
java.lang.String |
getJmsConnectionFactoryName()
The connection factory JNDI name used by the JMS transport layer. |
java.lang.String |
getJmsJndiInitialFactory()
The JNDI initial factory used by the JMS transport layer. |
java.lang.String |
getJmsJndiProviderUrl()
The JNDI provider URL used by the JMS transport layer. |
SoapComponentContext.ServiceManager<org.ow2.petals.component.framework.jbidescriptor.generated.Provides> |
getProvidersManager()
|
java.io.File |
getServiceDescriptor(java.lang.String serviceUnitName)
Get the service descriptor as File of the given service unit if
available. |
org.ow2.petals.ws.notification.WsnManager |
getWsnManager()
|
void |
removeJbiDescriptor(java.lang.String serviceUnitName)
Remove the JBIDescriptor for the given address |
void |
removeServiceDescriptor(java.lang.String serviceUnitName)
Remove the JBIDescriptor for the given service unit |
void |
returnServiceClient(java.lang.String address,
javax.xml.namespace.QName operation,
java.net.URI mep,
ServiceClient serviceClient,
java.lang.String soapAction)
Release the service client to the pool |
void |
setAxis2ConfigurationContext(org.apache.axis2.context.ConfigurationContext axis2ConfigurationContext)
|
void |
setComponentConfiguration(org.ow2.petals.component.framework.jbidescriptor.generated.Component componentConfiguration)
|
void |
setJmsConnectionFactoryName(java.lang.String jmsConnectionFactoryName)
Set the connection factory JNDI name used by the JMS transport layer. |
void |
setJmsJndiInitialFactory(java.lang.String jmsJndiInitialFactory)
Set the JNDI initial factory used by the JMS transport layer. |
void |
setJmsJndiProviderUrl(java.lang.String jmsJndiProviderUrl)
Set the JNDI provider URL used by the JMS transport layer. |
void |
setWsnManager(org.ow2.petals.ws.notification.WsnManager wsnManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.ow2.petals.ws.notification.WsnManager wsnManager
| Constructor Detail |
|---|
public SoapComponentContext(javax.jbi.component.ComponentContext context,
org.ow2.petals.component.framework.jbidescriptor.generated.Component componentConfiguration,
java.util.logging.Logger logger)
context - componentConfiguration - logger - | Method Detail |
|---|
public void addJbiDescriptor(java.lang.String serviceUnitName,
org.ow2.petals.component.framework.jbidescriptor.generated.Jbi jbiDescriptor)
JBIDescriptor
address - jbiDescriptor - public org.ow2.petals.component.framework.jbidescriptor.generated.Jbi getJbiDescriptor(java.lang.String serviceUnitName)
address -
JBIDescriptor if found, else return nullpublic void removeJbiDescriptor(java.lang.String serviceUnitName)
JBIDescriptor for the given address
address -
public void addServiceDescriptor(java.lang.String serviceUnitName,
java.io.File serviceDescriptor)
JBIDescriptor
address - jbiDescriptor - public java.io.File getServiceDescriptor(java.lang.String serviceUnitName)
File of the given service unit if
available.
address -
public void removeServiceDescriptor(java.lang.String serviceUnitName)
JBIDescriptor for the given service unit
address - public org.ow2.petals.ws.notification.WsnManager getWsnManager()
public void setWsnManager(org.ow2.petals.ws.notification.WsnManager wsnManager)
wsnManager - the notificationManager to setpublic org.ow2.petals.component.framework.jbidescriptor.generated.Component getComponentConfiguration()
public void setComponentConfiguration(org.ow2.petals.component.framework.jbidescriptor.generated.Component componentConfiguration)
componentConfiguration -
public ServiceClient borrowServiceClient(java.lang.String address,
javax.xml.namespace.QName operation,
java.lang.String soapAction,
java.net.URI mep,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions cdkExtensions,
org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides,
java.lang.String rampartUserName)
throws javax.jbi.messaging.MessagingException
Get a service client associated to an axis service set with the good operation. It is taken from a pool object.
This service client must be returned to the pool after usage using
API:
.
#returnServiceClient(String, QName, URI, ServiceClient)
address - the address of the service, mainly used as key to retrieve the
associated SU.operation - the target operation QName. Non nullmep - the message exchange pattern used. Non nullcdkExtensions - SU extensions used by the service client pool when the
creation of a service client is neededprovides - the provides block of the endpoint which is creating the
external WS callramprtUserName -
#returnServiceClient(String, QName, URI, ServiceClient)
HandlingException
javax.jbi.messaging.MessagingException
public void returnServiceClient(java.lang.String address,
javax.xml.namespace.QName operation,
java.net.URI mep,
ServiceClient serviceClient,
java.lang.String soapAction)
throws javax.jbi.messaging.MessagingException
address - operation - mep - serviceClient -
javax.jbi.messaging.MessagingExceptionpublic org.apache.axis2.context.ConfigurationContext getAxis2ConfigurationContext()
public void setAxis2ConfigurationContext(org.apache.axis2.context.ConfigurationContext axis2ConfigurationContext)
axis2ConfigurationContext - the axis2ConfigurationContext to setpublic SoapComponentContext.ServiceManager<org.ow2.petals.component.framework.jbidescriptor.generated.Consumes> getConsumersManager()
public SoapComponentContext.ServiceManager<org.ow2.petals.component.framework.jbidescriptor.generated.Provides> getProvidersManager()
public java.lang.String getJmsJndiInitialFactory()
public void setJmsJndiInitialFactory(java.lang.String jmsJndiInitialFactory)
jmsJndiInitialFactory - The JNDI initial factory used by the JMS transport layer.public java.lang.String getJmsJndiProviderUrl()
public void setJmsJndiProviderUrl(java.lang.String jmsJndiProviderUrl)
jmsJndiProviderUrl - The JNDI provider URL used by the JMS transport layer.public java.lang.String getJmsConnectionFactoryName()
public void setJmsConnectionFactoryName(java.lang.String jmsConnectionFactoryName)
jmsConnectionFactoryName - The connection factory JNDI name used by the JMS transport
layer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||