|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scrashmeow.ojb.console.service.ApplicationServiceActionServletImpl
Implementation class of the ApplicationService which is the central service layer for the web application. This implementation utilizes the ActionServlet to store an instance in the application context
Constructor Summary | |
ApplicationServiceActionServletImpl(org.apache.struts.action.ActionServlet servlet)
Constructor for ActionApplicationService. |
Method Summary | |
org.apache.ojb.broker.metadata.ClassDescriptor |
getAssociatedClassDescriptor(org.apache.struts.action.ActionForm form,
HttpServletRequest request)
Convenience method for finding a class descriptor from a url query string |
ConfigService |
getConfigService()
Returns the config service which provides an abstraction for the OJBC.xml configruation model |
ConnectionService |
getConnectionService()
Returns the connection service which provides an abstraction for working directly with a java.sql.Connection. |
FormService |
getFormService()
Returns the form service which provides an abstraction for common http related logic |
java.lang.String |
getMessage(java.util.Locale loc,
java.lang.String key)
Convenience method for getting a localized message |
MetaDataService |
getMetaDataService()
Returns the MetaDataService which is an abstraction above the OJB MetaData |
ObjectService |
getObjectService()
Returns the object service which provides an abstraction for OJB persistence |
UiMetaDataService |
getUiMetaDataService()
Returns the UI MetaData Service which provides logic for the ui_repository.xml configuration model |
UserService |
getUserService()
Returns the user service which provides an abstraction for dealing with User Session objects |
void |
setConfigService(ConfigService configService)
Sets the configService. |
void |
setConnectionService(ConnectionService connectionService)
Sets the connectionService. |
void |
setFormService(FormService formService)
Sets the formService. |
void |
setMetaDataService(MetaDataService metaDataService)
Sets the metaDataService. |
void |
setObjectService(ObjectService objectService)
Sets the objectService. |
void |
setUiMetaDataService(UiMetaDataService uiMetaDataService)
Sets the uiMetaDataService. |
void |
setUserService(UserService userService)
Sets the userService. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ApplicationServiceActionServletImpl(org.apache.struts.action.ActionServlet servlet)
servlet
- @add-javadoc!!!Method Detail |
public java.lang.String getMessage(java.util.Locale loc, java.lang.String key)
getMessage
in interface ApplicationService
loc
- a Locale
valuekey
- a String
value
String
value
ServiceException
- if an error occurspublic org.apache.ojb.broker.metadata.ClassDescriptor getAssociatedClassDescriptor(org.apache.struts.action.ActionForm form, HttpServletRequest request) throws ServiceException
getAssociatedClassDescriptor
in interface ApplicationService
form
- an ActionForm
valuerequest
- a HttpServletRequest
value
ClassDescriptor
value
ServiceException
- if an error occurspublic FormService getFormService()
getFormService
in interface ApplicationService
FormService
value
ServiceException
- if an error occurspublic MetaDataService getMetaDataService()
getMetaDataService
in interface ApplicationService
MetaDataService
value
ServiceException
- if an error occurspublic ObjectService getObjectService()
getObjectService
in interface ApplicationService
ObjectService
value
ServiceException
- if an error occurspublic UserService getUserService()
getUserService
in interface ApplicationService
UserService
value
ServiceException
- if an error occurspublic void setFormService(FormService formService)
formService
- The formService to setpublic void setMetaDataService(MetaDataService metaDataService)
metaDataService
- The metaDataService to setpublic void setObjectService(ObjectService objectService)
objectService
- The objectService to setpublic void setUserService(UserService userService)
userService
- The userService to setpublic ConfigService getConfigService()
getConfigService
in interface ApplicationService
ConfigService
value
ServiceException
- if an error occurspublic void setConfigService(ConfigService configService)
configService
- The configService to setpublic UiMetaDataService getUiMetaDataService() throws ServiceException
getUiMetaDataService
in interface ApplicationService
UiMetaDataService
value
ServiceException
- if an error occurspublic void setUiMetaDataService(UiMetaDataService uiMetaDataService)
uiMetaDataService
- The uiMetaDataService to setpublic ConnectionService getConnectionService()
getConnectionService
in interface ApplicationService
ConnectionService
value
ServiceException
- if an error occurspublic void setConnectionService(ConnectionService connectionService)
connectionService
- The connectionService to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |