|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.jca.cxf.ConnectionFactoryImpl
public class ConnectionFactoryImpl
| Constructor Summary | |
|---|---|
ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory aMCF,
javax.resource.spi.ConnectionManager aCM)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getBus()
Returns the underlying Bus for this connection factory. |
java.lang.Object |
getConnection(java.lang.Class iface,
javax.xml.namespace.QName serviceName)
Creates a client proxy based on the given WSDL information. |
java.lang.Object |
getConnection(java.lang.Class iface,
javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portName)
Creates a client proxy based on the given WSDL information. |
java.lang.Object |
getConnection(java.lang.Class iface,
java.net.URL wsdlLocation,
javax.xml.namespace.QName serviceName)
Creates a client proxy based on the given WSDL information. |
java.lang.Object |
getConnection(java.lang.Class iface,
java.net.URL wsdlLocation,
javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portName)
Creates a client proxy based on the given WSDL information. |
javax.naming.Reference |
getReference()
|
void |
setReference(javax.naming.Reference ref)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory aMCF,
javax.resource.spi.ConnectionManager aCM)
| Method Detail |
|---|
public void setReference(javax.naming.Reference ref)
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException
public java.lang.Object getConnection(java.lang.Class iface,
java.net.URL wsdlLocation,
javax.xml.namespace.QName serviceName)
throws javax.resource.ResourceException
CXFConnectionFactory
getConnection in interface CXFConnectionFactoryiface - The interface class implemented by the returned proxy.wsdlLocation - The URL to the WSDL that defines the service.serviceName - The QName that identifies the service.
iface
and the Connection interface. It represents the Web
service associated with the specified service.
javax.resource.ResourceException - If there is an error creating the connection.
public java.lang.Object getConnection(java.lang.Class iface,
javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portName)
throws javax.resource.ResourceException
CXFConnectionFactoryserviceName.
getConnection in interface CXFConnectionFactoryiface - The interface class implemented by the returned proxy.serviceName - The QName that identifies the service.portName - The port to connect to; services may include multiple
ports.
iface
and the Connection interface. It represents the Web
service associated with the specified service and port.
javax.resource.ResourceException - If there is an error creating the connection.
public java.lang.Object getConnection(java.lang.Class iface,
javax.xml.namespace.QName serviceName)
throws javax.resource.ResourceException
CXFConnectionFactoryserviceName.
getConnection in interface CXFConnectionFactoryiface - The interface class implemented by the returned proxy.serviceName - The QName that identifies the service..
iface
and the Connection interface. It represents the Web
service associated with the specified service.
javax.resource.ResourceException - If there is an error creating the connection.public java.lang.Object getBus()
CXFConnectionFactoryBus for this connection factory. In some
J2EE environments, for example Weblogic, the Bus and dependent
classes are not available to the J2EE application. In this case the CXF
runtime jar:
cxf-install-dir/cxf/lib/cxf-rt-version.jar should
be added to the classpath of the application server. Once, the
Bus class is available on the system classpath, then the returned
object may be cast to Bus. In other environments, this cast
should be safe without having to modify the classpath
org.apache.cxf.Bus = (org.apache.cxf.Bus)connectionFactory.getBus();
getBus in interface CXFConnectionFactoryBus
public java.lang.Object getConnection(java.lang.Class iface,
java.net.URL wsdlLocation,
javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portName)
throws javax.resource.ResourceException
CXFConnectionFactory
getConnection in interface CXFConnectionFactoryiface - The interface class implemented by the returned proxy.wsdlLocation - The URL to the WSDL that defines the service.serviceName - The QName that identifies the service.portName - The port to connect to; services may include multiple
ports.
iface
and the Connection interface. It represents the Web
service associated with the specified service and port.
javax.resource.ResourceException - If there is an error creating the connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||