|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.genesyslab.soa.client.ServiceFactory
| Field Summary | |
static java.lang.String |
DEFAULT_CONFIGURATION_FILE
|
| Constructor Summary | |
ServiceFactory()
|
|
| Method Summary | |
static ServiceFactory |
asyncCreateServiceFactory(java.lang.Class serviceFactoryClass,
java.util.Properties context,
ServiceFactoryListener listener)
Create a service factory in asynchronous mode. |
static ServiceFactory |
asyncCreateServiceFactory(java.lang.String serviceFactoryName,
java.util.Properties context,
java.lang.String configurationFile,
ServiceFactoryListener listener)
Create a service factory regarding a configuration file in asynchronous mode. |
IService |
createService(java.lang.Class serviceClass,
java.util.Properties context)
Create a service |
static ServiceFactory |
createServiceFactory(java.lang.Class serviceFactoryClass,
java.util.Properties context,
ServiceFactoryListener listener)
Create a service factory. |
static ServiceFactory |
createServiceFactory(java.lang.String serviceFactoryName,
java.util.Properties context,
java.lang.String configurationFile,
ServiceFactoryListener listener)
Create a service factory regarding a configuration file. |
ConnectionInfo |
getConnectionInfo()
Information about the connection status. |
BaseServiceFactoryImpl |
getCurrentServiceFactoryImpl()
The current real factory. |
java.lang.String[] |
getServices()
Return all services classnames available in the service factory. |
void |
releaseFactory()
Release the factory. |
void |
setCurrentServiceFactoryImpl(BaseServiceFactoryImpl currentServiceFactoryImpl)
|
| 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 DEFAULT_CONFIGURATION_FILE
| Constructor Detail |
public ServiceFactory()
| Method Detail |
public static ServiceFactory createServiceFactory(java.lang.String serviceFactoryName,
java.util.Properties context,
java.lang.String configurationFile,
ServiceFactoryListener listener)
throws ServiceException
serviceFactoryName - One of factory name defined in the configuration file.context - Key-value pairs options.configurationFile - Configuration file name. If null, the default file name is "proxy-configuration.xml".listener - Factory listener
ServiceException
public static ServiceFactory asyncCreateServiceFactory(java.lang.String serviceFactoryName,
java.util.Properties context,
java.lang.String configurationFile,
ServiceFactoryListener listener)
throws ServiceException
serviceFactoryName - One of factory name defined in the configuration file.context - Key-value pairs options.configurationFile - Configuration file name. If null, the default file name is "proxy-configuration.xml".listener - Factory listener
ServiceException
public static ServiceFactory createServiceFactory(java.lang.Class serviceFactoryClass,
java.util.Properties context,
ServiceFactoryListener listener)
throws ServiceException
serviceFactoryClass - context - Key-value pairs options.listener - Factory listener
ServiceException
public static ServiceFactory asyncCreateServiceFactory(java.lang.Class serviceFactoryClass,
java.util.Properties context,
ServiceFactoryListener listener)
throws ServiceException
serviceFactoryClass - context - Key-value pairs options.listener - Factory listener
ServiceException
public IService createService(java.lang.Class serviceClass,
java.util.Properties context)
throws ServiceException
serviceClass - context - Key-value pairs options.
ServiceException
public void releaseFactory()
throws ServiceException
ServiceExceptionpublic BaseServiceFactoryImpl getCurrentServiceFactoryImpl()
public void setCurrentServiceFactoryImpl(BaseServiceFactoryImpl currentServiceFactoryImpl)
public ConnectionInfo getConnectionInfo()
public java.lang.String[] getServices()
throws ServiceException
ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||