org.scrashmeow.ojb.console.service
Class ServiceFactoryImpl

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.service.ServiceFactoryImpl
All Implemented Interfaces:
ServiceFactory

public class ServiceFactoryImpl
extends java.lang.Object
implements ServiceFactory

Implementation class for a factory that creates the services needed for the application.

Author:
Alexander Bibighaus

Constructor Summary
ServiceFactoryImpl()
           
 
Method Summary
 ApplicationService createApplicationService(org.apache.struts.action.ActionServlet servlet, java.util.Properties runtimeProps, OjbConsole consoleConfig, UiDescriptorRepository uiRepo)
          Method createApplicationService @add-javadoc!!!
 ConfigService createConfigService(java.util.Properties ojbcProperties, OjbConsole consoleConfig)
          Method createConfigService @add-javadoc!!!
 ConnectionService createConnectionService()
          Method createConnectionService @add-javadoc!!!
 FormService createFormService()
          Method createFormService @add-javadoc!!!
 MetaDataService createMetaDataService()
          Method createMetaDataService @add-javadoc!!!
 ObjectService createObjectService()
          Method createObjectService @add-javadoc!!!
 UiMetaDataService createUiMetaDataService(ApplicationService service, UiDescriptorRepository uiRepo)
          Method createUiMetaDataService @add-javadoc!!!
 UserService createUserService(ApplicationService service)
          Method createUserService @add-javadoc!!!
static ServiceFactoryImpl newInstance()
          Method newInstance @add-javadoc!!!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceFactoryImpl

public ServiceFactoryImpl()
Method Detail

newInstance

public static ServiceFactoryImpl newInstance()
Method newInstance @add-javadoc!!!

Returns:
@add-javadoc!!!

createApplicationService

public ApplicationService createApplicationService(org.apache.struts.action.ActionServlet servlet,
                                                   java.util.Properties runtimeProps,
                                                   OjbConsole consoleConfig,
                                                   UiDescriptorRepository uiRepo)
                                            throws ServiceException
Method createApplicationService @add-javadoc!!!

Specified by:
createApplicationService in interface ServiceFactory
Parameters:
servlet - @add-javadoc!!!
runtimeProps - @add-javadoc!!!
consoleConfig - @add-javadoc!!!
uiRepo - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createConfigService

public ConfigService createConfigService(java.util.Properties ojbcProperties,
                                         OjbConsole consoleConfig)
                                  throws ServiceException
Method createConfigService @add-javadoc!!!

Specified by:
createConfigService in interface ServiceFactory
Parameters:
ojbcProperties - @add-javadoc!!!
consoleConfig - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createMetaDataService

public MetaDataService createMetaDataService()
                                      throws ServiceException
Method createMetaDataService @add-javadoc!!!

Specified by:
createMetaDataService in interface ServiceFactory
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createConnectionService

public ConnectionService createConnectionService()
                                          throws ServiceException
Method createConnectionService @add-javadoc!!!

Specified by:
createConnectionService in interface ServiceFactory
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createUiMetaDataService

public UiMetaDataService createUiMetaDataService(ApplicationService service,
                                                 UiDescriptorRepository uiRepo)
                                          throws ServiceException
Method createUiMetaDataService @add-javadoc!!!

Specified by:
createUiMetaDataService in interface ServiceFactory
Parameters:
service - @add-javadoc!!!
uiRepo - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createUserService

public UserService createUserService(ApplicationService service)
                              throws ServiceException
Method createUserService @add-javadoc!!!

Specified by:
createUserService in interface ServiceFactory
Parameters:
service - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createObjectService

public ObjectService createObjectService()
                                  throws ServiceException
Method createObjectService @add-javadoc!!!

Specified by:
createObjectService in interface ServiceFactory
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createFormService

public FormService createFormService()
                              throws ServiceException
Method createFormService @add-javadoc!!!

Specified by:
createFormService in interface ServiceFactory
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.