From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../application/QuasarCompositeApplication.html | 1251 ++++++++++++++++++++ 1 file changed, 1251 insertions(+) create mode 100644 Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/application/QuasarCompositeApplication.html (limited to 'Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/application/QuasarCompositeApplication.html') diff --git a/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/application/QuasarCompositeApplication.html b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/application/QuasarCompositeApplication.html new file mode 100644 index 0000000..f3e358a --- /dev/null +++ b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/application/QuasarCompositeApplication.html @@ -0,0 +1,1251 @@ + + + + + + +QuasarCompositeApplication (Quasar Client Building Blicks API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sdm.quasar.client.jsf.application +
+Class QuasarCompositeApplication

+
+java.lang.Object
+  extended byApplication
+      extended bycom.sdm.quasar.client.jsf.application.QuasarCompositeApplication
+
+
+
All Implemented Interfaces:
Application
+
+
+
+
public class QuasarCompositeApplication
extends Application
implements Application
+ +

+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 Application + interface which allows to start and stop the application, etc. +

+ +

+

+
Author:
+
Carsten Lucke , sd&m AG
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
QuasarCompositeApplication(Application jsfApplication, + Application quasarApplication) + +
+          Constructor that hands in the default JSF application instance.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddComponent(java.lang.String arg0, + java.lang.String arg1) + +
+           
+ voidaddConverter(java.lang.Class arg0, + java.lang.String arg1) + +
+           
+ voidaddConverter(java.lang.String arg0, + java.lang.String arg1) + +
+           
+ voidaddValidator(java.lang.String arg0, + java.lang.String arg1) + +
+           
+ UIComponentcreateComponent(java.lang.String arg0) + +
+           
+ UIComponentcreateComponent(ValueBinding arg0, + FacesContext arg1, + java.lang.String arg2) + +
+           
+ ConvertercreateConverter(java.lang.Class arg0) + +
+           
+ ConvertercreateConverter(java.lang.String arg0) + +
+           
+ MethodBindingcreateMethodBinding(java.lang.String arg0, + java.lang.Class[] arg1) + +
+           
+ ValidatorcreateValidator(java.lang.String arg0) + +
+           
+ ValueBindingcreateValueBinding(java.lang.String arg0) + +
+           
+ ActionListenergetActionListener() + +
+           
+ IDgetApplicationID() + +
+          Returns the application ID. +
+ java.util.IteratorgetComponentTypes() + +
+           
+ ConfigManagergetConfigManager() + +
+          Returns the ConfigManager of the application scope.
+ java.util.IteratorgetConverterIds() + +
+           
+ java.util.IteratorgetConverterTypes() + +
+           
+ java.util.LocalegetDefaultLocale() + +
+           
+ java.lang.StringgetDefaultRenderKitId() + +
+           
+ java.lang.StringgetMessageBundle() + +
+           
+ NavigationHandlergetNavigationHandler() + +
+           
+ PropertyResolvergetPropertyResolver() + +
+           
+ ServiceManagergetServiceManager() + +
+          Returns the object that implements the ServiceManager interface.
+ SessionManagergetSessionManager() + +
+          Returns the SessionManager of the application scope.
+ StateManagergetStateManager() + +
+           
+ java.util.IteratorgetSupportedLocales() + +
+           
+ java.util.IteratorgetValidatorIds() + +
+           
+ VariableResolvergetVariableResolver() + +
+           
+ ViewHandlergetViewHandler() + +
+           
+ voidsetActionListener(ActionListener arg0) + +
+           
+ voidsetDefaultLocale(java.util.Locale arg0) + +
+           
+ voidsetDefaultRenderKitId(java.lang.String arg0) + +
+           
+ voidsetMessageBundle(java.lang.String arg0) + +
+           
+ voidsetNavigationHandler(NavigationHandler arg0) + +
+           
+ voidsetPropertyResolver(PropertyResolver arg0) + +
+           
+ voidsetStateManager(StateManager arg0) + +
+           
+ voidsetSupportedLocales(java.util.Collection arg0) + +
+           
+ voidsetVariableResolver(VariableResolver arg0) + +
+           
+ voidsetViewHandler(ViewHandler arg0) + +
+           
+ voidstart() + +
+          Realizes application startup. +
+ voidstop() + +
+          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)
+
+
Constructor that hands in the default JSF application instance. +

+

Parameters:
jsfApplication - the default JSF application instance
quasarApplication - 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
+
+
+
+
+
+ +
Throws: +
FacesException
+
+
+
+ +

+createComponent

+
+public UIComponent createComponent(ValueBinding arg0,
+                                   FacesContext arg1,
+                                   java.lang.String arg2)
+                            throws FacesException
+
+
+
+
+
+ +
Throws: +
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
+
+
+
+
+
+ +
Throws: +
ReferenceSyntaxException
+
+
+
+ +

+createValidator

+
+public Validator createValidator(java.lang.String arg0)
+                          throws FacesException
+
+
+
+
+
+ +
Throws: +
FacesException
+
+
+
+ +

+createValueBinding

+
+public ValueBinding createValueBinding(java.lang.String arg0)
+                                throws ReferenceSyntaxException
+
+
+
+
+
+ +
Throws: +
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()
+
+
Description copied from interface: Application
+
Returns the application ID. + The application ID is used to identify the application as a target for + communication purposes. +

+

+
Specified by:
getApplicationID in interface Application
+
+
+ +
Returns:
the application id.
+
+
+
+ +

+getConfigManager

+
+public ConfigManager getConfigManager()
+
+
Description copied from interface: Application
+
Returns the ConfigManager of the application scope. +

+

+
Specified by:
getConfigManager in interface Application
+
+
+ +
Returns:
the config manager
+
+
+
+ +

+getServiceManager

+
+public ServiceManager getServiceManager()
+
+
Description copied from interface: Application
+
Returns the object that implements the ServiceManager interface. +

+

+
Specified by:
getServiceManager in interface Application
+
+
+ +
Returns:
the service manager
+
+
+
+ +

+getSessionManager

+
+public SessionManager getSessionManager()
+
+
Description copied from interface: Application
+
Returns the SessionManager of the application scope. +

+

+
Specified by:
getSessionManager in interface Application
+
+
+ +
Returns:
the session manager
+
+
+
+ +

+start

+
+public void start()
+
+
Description copied from interface: Application
+
Realizes application startup. +

+ In this method: +

+

+ 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. +

+

+

+
Specified by:
start in interface Application
+
+
+
+
+
+
+ +

+stop

+
+public void stop()
+          throws DisposeException
+
+
Description copied from interface: Application
+
Realizes application shutdown. +

+ 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. +

+

+
Specified by:
stop in interface Application
+
+
+ +
Throws: +
DisposeException - if there is an exception while destroying the components
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3