| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.xml.rpc.ServiceFactory
org.apache.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_IMPLEMENTATION_NAME_PROPERTY | 
| 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 | 
| SERVICEFACTORY_PROPERTY | 
| Constructor Summary | |
| ServiceFactory() | |
| Method Summary | |
|  Service | createService(QName serviceName)Create a Service instance. | 
|  Service | createService(java.net.URL wsdlDocumentLocation,
              QName 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 | getService(java.util.Map environment)Obtain an AxisClient reference, using JNDI if possible, otherwise creating one using the standard Axis configuration pattern. | 
|  Service | loadService(java.lang.Class serviceInterface)Create an instance of the generated service implementation class for a given service interface, if available. | 
|  Service | loadService(java.net.URL wsdlDocumentLocation,
            java.lang.Class serviceInterface,
            java.util.Properties properties)Create an instance of the generated service implementation class for a given service interface, if available. | 
|  Service | loadService(java.net.URL wsdlDocumentLocation,
            QName serviceName,
            java.util.Properties properties)Create an instance of the generated service implementation class for a given service, if available. | 
| static void | setThreadDefaultConfig(EngineConfiguration config) | 
| Methods inherited from class javax.xml.rpc.ServiceFactory | 
| 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
public static final java.lang.String SERVICE_IMPLEMENTATION_NAME_PROPERTY
| Constructor Detail | 
public ServiceFactory()
| Method Detail | 
public static void setThreadDefaultConfig(EngineConfiguration config)
public static Service 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.ObjectFactoryjava.lang.Exception
public Service createService(java.net.URL wsdlDocumentLocation,
                             QName serviceName)
                      throws ServiceException
createService in class ServiceFactorywsdlDocumentLocation - URL for the WSDL document location
                              for the serviceserviceName - QName for the service.
ServiceException - If any error in creation of the specified service
public Service createService(QName serviceName)
                      throws ServiceException
createService in class ServiceFactoryserviceName - QName for the service
ServiceException - If any error in creation of the specified service
public Service loadService(java.lang.Class serviceInterface)
                    throws ServiceException
loadService in class ServiceFactoryserviceInterface - Service interface
ServiceException - If there is any error while creating the specified service, 
      including the case where a generated service implementation class cannot be located
public Service loadService(java.net.URL wsdlDocumentLocation,
                           java.lang.Class serviceInterface,
                           java.util.Properties properties)
                    throws ServiceException
loadService in class ServiceFactorywsdlDocumentLocation - URL for the WSDL document location for the service or nullserviceInterface - Service interfaceproperties - A set of implementation-specific properties 
      to help locate the generated service implementation class
ServiceException - If there is any error while creating the specified service, 
      including the case where a generated service implementation class cannot be located
public Service loadService(java.net.URL wsdlDocumentLocation,
                           QName serviceName,
                           java.util.Properties properties)
                    throws ServiceException
loadService in class ServiceFactorywsdlDocumentLocation - URL for the WSDL document location for the service or nullserviceName - Qualified name for the serviceproperties - A set of implementation-specific properties 
      to help locate the generated service implementation class
ServiceException - If there is any error while creating the specified service, 
      including the case where a generated service implementation class cannot be located| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||