|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.rpc.ServiceFactory (src)
org.jboss.axis.client.ServiceFactory
Helper class for obtaining Services from JNDI.
!!! WORK IN PROGRESS
Field Summary | |
static java.lang.String |
MAINTAIN_SESSION
|
static java.lang.String |
SERVICE_CLASSNAME
|
static java.lang.String |
SERVICE_LOCAL_PART
|
static java.lang.String |
SERVICE_NAMESPACE
|
static java.lang.String |
WSDL_LOCATION
|
Fields inherited from class javax.xml.rpc.ServiceFactory (src) |
SERVICEFACTORY_PROPERTY |
Constructor Summary | |
ServiceFactory()
|
Method Summary | |
Service (src) |
createService(QName (src) serviceName)
Create a Service instance. |
Service (src) |
createService(java.net.URL wsdlDocumentLocation,
QName (src) serviceName)
Create a Service instance. |
java.lang.Object |
getObjectInstance(java.lang.Object refObject,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
|
static Service (src) |
getService(java.util.Map environment)
Obtain an AxisClient reference, using JNDI if possible, otherwise creating one using the standard Axis configuration pattern. |
Service (src) |
loadService(java.lang.Class aClass)
Create an instance of the generated service implementation class for a given service interface, if available. |
Service (src) |
loadService(java.net.URL url,
java.lang.Class aClass,
java.util.Properties properties)
Create an instance of the generated service implementation class for a given service interface, if available. |
Service (src) |
loadService(java.net.URL url,
QName (src) qName,
java.util.Properties properties)
Create an instance of the generated service implementation class for a given service, if available. |
Methods inherited from class javax.xml.rpc.ServiceFactory (src) |
newInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SERVICE_CLASSNAME
public static final java.lang.String WSDL_LOCATION
public static final java.lang.String MAINTAIN_SESSION
public static final java.lang.String SERVICE_NAMESPACE
public static final java.lang.String SERVICE_LOCAL_PART
Constructor Detail |
public ServiceFactory()
Method Detail |
public static Service (src) getService(java.util.Map environment)
environment
-
public java.lang.Object getObjectInstance(java.lang.Object refObject, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment) throws java.lang.Exception
getObjectInstance
in interface javax.naming.spi.ObjectFactory
java.lang.Exception
public Service (src) createService(java.net.URL wsdlDocumentLocation, QName (src) serviceName) throws ServiceException (src)
createService
in class ServiceFactory (src)
wsdlDocumentLocation
- URL for the WSDL document location
for the serviceserviceName
- QName for the service.
ServiceException (src)
- If any error in creation of the specified servicepublic Service (src) loadService(java.lang.Class aClass) throws ServiceException (src)
ServiceFactory (src)
loadService
in class ServiceFactory (src)
aClass
- Service interface
ServiceException (src)
- If there is any error while creating the specified service, including the case where a
generated service implementation class cannot be locatedpublic Service (src) loadService(java.net.URL url, java.lang.Class aClass, java.util.Properties properties) throws ServiceException (src)
ServiceFactory (src)
loadService
in class ServiceFactory (src)
url
- URL for the WSDL document location for the service or nullaClass
- Service interfaceproperties
- A set of implementation-specific properties to help locate the generated service implementation class
ServiceException (src)
- If there is any error while creating the specified service, including the case where a
generated service implementation class cannot be locatedpublic Service (src) loadService(java.net.URL url, QName (src) qName, java.util.Properties properties) throws ServiceException (src)
ServiceFactory (src)
loadService
in class ServiceFactory (src)
url
- URL for the WSDL document location for the service or nullqName
- Qualified name for the serviceproperties
- A set of implementation-specific properties to help locate the generated service implementation class
ServiceException (src)
- If there is any error while creating the specified service, including the case where a generated service implementation class cannot be locatedpublic Service (src) createService(QName (src) serviceName) throws ServiceException (src)
createService
in class ServiceFactory (src)
serviceName
- QName for the service
ServiceException (src)
- If any error in creation of the specified service
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |