From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001
From: Sven Eisenhauer
+Class that is used as JSF application.
+
+ It implements all JSF application tasks by using a delegate concept,
+ which passes all standard work to the JSF application.
+
+ Additionally the class implements the Quasar
+
+
+
+
+
+
+
+
+ In this method:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Overview
+ Package
+ Class
+ Use
+ Tree
+ Deprecated
+ Index
+ Help
+
+
+
+
+
+
+ PREV CLASS
+ NEXT CLASS
+
+ FRAMES
+ NO FRAMES
+
+
+
+
+
+
+
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD
+
+DETAIL: FIELD | CONSTR | METHOD
+
+
+
+
+com.sdm.quasar.client.jsf.application
+
+
+Class QuasarCompositeApplication
+java.lang.Object
+
+
Application
+
com.sdm.quasar.client.jsf.application.QuasarCompositeApplication
+
+
+
+
+
+
+Application
+ interface which allows to start and stop the application, etc.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+QuasarCompositeApplication(Application jsfApplication,
+ Application quasarApplication)
+
+
+ Constructor that hands in the default JSF application instance.
+
+
+
+
+
+Method Summary
+
+
+
+
+ void
+addComponent(java.lang.String arg0,
+ java.lang.String arg1)
+
+
+
+
+
+
+ void
+addConverter(java.lang.Class arg0,
+ java.lang.String arg1)
+
+
+
+
+
+
+ void
+addConverter(java.lang.String arg0,
+ java.lang.String arg1)
+
+
+
+
+
+
+ void
+addValidator(java.lang.String arg0,
+ java.lang.String arg1)
+
+
+
+
+
+
+ UIComponent
+createComponent(java.lang.String arg0)
+
+
+
+
+
+
+ UIComponent
+createComponent(ValueBinding arg0,
+ FacesContext arg1,
+ java.lang.String arg2)
+
+
+
+
+
+
+ Converter
+createConverter(java.lang.Class arg0)
+
+
+
+
+
+
+ Converter
+createConverter(java.lang.String arg0)
+
+
+
+
+
+
+ MethodBinding
+createMethodBinding(java.lang.String arg0,
+ java.lang.Class[] arg1)
+
+
+
+
+
+
+ Validator
+createValidator(java.lang.String arg0)
+
+
+
+
+
+
+ ValueBinding
+createValueBinding(java.lang.String arg0)
+
+
+
+
+
+
+ ActionListener
+getActionListener()
+
+
+
+
+
+
+ ID
+getApplicationID()
+
+
+ Returns the application ID.
+
+
+
+
+ java.util.Iterator
+getComponentTypes()
+
+
+
+
+
+
+ ConfigManager
+getConfigManager()
+
+
+ Returns the ConfigManager of the application scope.
+
+
+
+ java.util.Iterator
+getConverterIds()
+
+
+
+
+
+
+ java.util.Iterator
+getConverterTypes()
+
+
+
+
+
+
+ java.util.Locale
+getDefaultLocale()
+
+
+
+
+
+
+ java.lang.String
+getDefaultRenderKitId()
+
+
+
+
+
+
+ java.lang.String
+getMessageBundle()
+
+
+
+
+
+
+ NavigationHandler
+getNavigationHandler()
+
+
+
+
+
+
+ PropertyResolver
+getPropertyResolver()
+
+
+
+
+
+
+ ServiceManager
+getServiceManager()
+
+
+ Returns the object that implements the ServiceManager interface.
+
+
+
+ SessionManager
+getSessionManager()
+
+
+ Returns the SessionManager of the application scope.
+
+
+
+ StateManager
+getStateManager()
+
+
+
+
+
+
+ java.util.Iterator
+getSupportedLocales()
+
+
+
+
+
+
+ java.util.Iterator
+getValidatorIds()
+
+
+
+
+
+
+ VariableResolver
+getVariableResolver()
+
+
+
+
+
+
+ ViewHandler
+getViewHandler()
+
+
+
+
+
+
+ void
+setActionListener(ActionListener arg0)
+
+
+
+
+
+
+ void
+setDefaultLocale(java.util.Locale arg0)
+
+
+
+
+
+
+ void
+setDefaultRenderKitId(java.lang.String arg0)
+
+
+
+
+
+
+ void
+setMessageBundle(java.lang.String arg0)
+
+
+
+
+
+
+ void
+setNavigationHandler(NavigationHandler arg0)
+
+
+
+
+
+
+ void
+setPropertyResolver(PropertyResolver arg0)
+
+
+
+
+
+
+ void
+setStateManager(StateManager arg0)
+
+
+
+
+
+
+ void
+setSupportedLocales(java.util.Collection arg0)
+
+
+
+
+
+
+ void
+setVariableResolver(VariableResolver arg0)
+
+
+
+
+
+
+ void
+setViewHandler(ViewHandler arg0)
+
+
+
+
+
+
+ void
+start()
+
+
+ Realizes application startup.
+
+
+
+
+ void
+stop()
+
+
+ Realizes application shutdown.
+
+
+
+
+
+Methods inherited from class java.lang.Object
+
+
+
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+Constructor Detail
+
+QuasarCompositeApplication
+
+public QuasarCompositeApplication(Application jsfApplication,
+ Application quasarApplication)
+
+
+
+
+
+
+jsfApplication - the default JSF application instancequasarApplication - the quasar application instance
+
+
+
+
+
+Method Detail
+
+addComponent
+
+public void addComponent(java.lang.String arg0,
+ java.lang.String arg1)
+
+
+
+
+
+
+
+
+
+addConverter
+
+public void addConverter(java.lang.String arg0,
+ java.lang.String arg1)
+
+
+
+
+
+
+
+
+
+addConverter
+
+public void addConverter(java.lang.Class arg0,
+ java.lang.String arg1)
+
+
+
+
+
+
+
+
+
+addValidator
+
+public void addValidator(java.lang.String arg0,
+ java.lang.String arg1)
+
+
+
+
+
+
+
+
+
+createComponent
+
+public UIComponent createComponent(java.lang.String arg0)
+ throws FacesException
+
+
+
+
+
+
+
+FacesException
+
+
+createComponent
+
+public UIComponent createComponent(ValueBinding arg0,
+ FacesContext arg1,
+ java.lang.String arg2)
+ throws FacesException
+
+
+
+
+
+
+
+FacesException
+
+
+createConverter
+
+public Converter createConverter(java.lang.String arg0)
+
+
+
+
+
+
+
+
+
+createConverter
+
+public Converter createConverter(java.lang.Class arg0)
+
+
+
+
+
+
+
+
+
+createMethodBinding
+
+public MethodBinding createMethodBinding(java.lang.String arg0,
+ java.lang.Class[] arg1)
+ throws ReferenceSyntaxException
+
+
+
+
+
+
+
+ReferenceSyntaxException
+
+
+createValidator
+
+public Validator createValidator(java.lang.String arg0)
+ throws FacesException
+
+
+
+
+
+
+
+FacesException
+
+
+createValueBinding
+
+public ValueBinding createValueBinding(java.lang.String arg0)
+ throws ReferenceSyntaxException
+
+
+
+
+
+
+
+ReferenceSyntaxException
+
+
+getActionListener
+
+public ActionListener getActionListener()
+
+
+
+
+
+
+
+
+
+getComponentTypes
+
+public java.util.Iterator getComponentTypes()
+
+
+
+
+
+
+
+
+
+getConverterIds
+
+public java.util.Iterator getConverterIds()
+
+
+
+
+
+
+
+
+
+getConverterTypes
+
+public java.util.Iterator getConverterTypes()
+
+
+
+
+
+
+
+
+
+getDefaultLocale
+
+public java.util.Locale getDefaultLocale()
+
+
+
+
+
+
+
+
+
+getDefaultRenderKitId
+
+public java.lang.String getDefaultRenderKitId()
+
+
+
+
+
+
+
+
+
+getMessageBundle
+
+public java.lang.String getMessageBundle()
+
+
+
+
+
+
+
+
+
+getNavigationHandler
+
+public NavigationHandler getNavigationHandler()
+
+
+
+
+
+
+
+
+
+getPropertyResolver
+
+public PropertyResolver getPropertyResolver()
+
+
+
+
+
+
+
+
+
+getStateManager
+
+public StateManager getStateManager()
+
+
+
+
+
+
+
+
+
+getSupportedLocales
+
+public java.util.Iterator getSupportedLocales()
+
+
+
+
+
+
+
+
+
+getValidatorIds
+
+public java.util.Iterator getValidatorIds()
+
+
+
+
+
+
+
+
+
+getVariableResolver
+
+public VariableResolver getVariableResolver()
+
+
+
+
+
+
+
+
+
+getViewHandler
+
+public ViewHandler getViewHandler()
+
+
+
+
+
+
+
+
+
+setActionListener
+
+public void setActionListener(ActionListener arg0)
+
+
+
+
+
+
+
+
+
+setDefaultLocale
+
+public void setDefaultLocale(java.util.Locale arg0)
+
+
+
+
+
+
+
+
+
+setDefaultRenderKitId
+
+public void setDefaultRenderKitId(java.lang.String arg0)
+
+
+
+
+
+
+
+
+
+setMessageBundle
+
+public void setMessageBundle(java.lang.String arg0)
+
+
+
+
+
+
+
+
+
+setNavigationHandler
+
+public void setNavigationHandler(NavigationHandler arg0)
+
+
+
+
+
+
+
+
+
+setPropertyResolver
+
+public void setPropertyResolver(PropertyResolver arg0)
+
+
+
+
+
+
+
+
+
+setStateManager
+
+public void setStateManager(StateManager arg0)
+
+
+
+
+
+
+
+
+
+setSupportedLocales
+
+public void setSupportedLocales(java.util.Collection arg0)
+
+
+
+
+
+
+
+
+
+setVariableResolver
+
+public void setVariableResolver(VariableResolver arg0)
+
+
+
+
+
+
+
+
+
+setViewHandler
+
+public void setViewHandler(ViewHandler arg0)
+
+
+
+
+
+
+
+
+
+getApplicationID
+
+public ID getApplicationID()
+
+
+Application
+
+getApplicationID in interface Application
+
+
+
+
+
+getConfigManager
+
+public ConfigManager getConfigManager()
+
+
+ApplicationConfigManager of the application scope.
+
+
+getConfigManager in interface Application
+
+
+
+
+
+getServiceManager
+
+public ServiceManager getServiceManager()
+
+
+ApplicationServiceManager interface.
+
+
+getServiceManager in interface Application
+
+
+
+
+
+getSessionManager
+
+public SessionManager getSessionManager()
+
+
+ApplicationSessionManager of the application scope.
+
+
+getSessionManager in interface Application
+
+
+
+
+
+start
+
+public void start()
+
+
Application
+ ConfigManager;
+ see ConfigManager.addValue(String, Object) and
+ ConfigManager.addValuesWithReader(com.sdm.quasar.client.core.common.config.ConfigReader),ServiceManager.registerService(Class, com.sdm.quasar.client.core.common.services.Service),
+ This method will be called after the creation of an instance. +
+ An implementation can assume, that the Application already
+ has an environment, e.g. the methods Application.getConfigManager(),
+ Application.getServiceManager() and Application.getSessionManager() return
+ valid and usable instances. Core services and initial configurations
+ may already have been registered at this managers. But
+ the SessionManager does not have a Session; starting
+ sessions is in responsability of the implementor of this method.
+
+
start in interface Application+public void stop() + throws DisposeException+
Application+ This method should remove registrations and do clean-up stuff, as necessary. + An implementation should destroy all sessions and free all used resources. + If appropriate, the virtual machine should be terminated at the end of this method. +
+ The call to this method is irrevokable. If you want to allow for user interaction + or server calls, you should do so before calling this method. +
+ Note: The implementation must not return before the application is shut down. + Any threads or asynchronous calls started during execution must be completed + before this method returns. +
+ Note: The Implementation should be able to cope with the same or other threads + calling methods of the interface while executing this method. Avoid an implementation + that may produce a deadlock. +
+
stop in interface ApplicationDisposeException - if there is an exception while destroying the components
+
+
|
++ + | +||||||||||
| + PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + | +||||||||||
| + SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +||||||||||