Source Code Cross Referenced for Model.java in  » ESB » mule » org » mule » api » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ESB » mule » org.mule.api.model 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * $Id: Model.java 11379 2008-03-17 02:46:56Z dfeist $
03:         * --------------------------------------------------------------------------------------
04:         * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
05:         *
06:         * The software in this package is published under the terms of the CPAL v1.0
07:         * license, a copy of which has been included with this distribution in the
08:         * LICENSE.txt file.
09:         */
10:
11:        package org.mule.api.model;
12:
13:        import org.mule.api.NamedObject;
14:        import org.mule.api.component.LifecycleAdapterFactory;
15:        import org.mule.api.context.MuleContextAware;
16:        import org.mule.api.lifecycle.Lifecycle;
17:
18:        import java.beans.ExceptionListener;
19:
20:        /**
21:         * The <code>Model</code> encapsulates and manages the runtime behaviour of a
22:         * Mule Server instance. It is responsible for maintaining the UMOs instances and
23:         * their configuration.
24:         */
25:        public interface Model extends Lifecycle, MuleContextAware, NamedObject {
26:            /**
27:             * Returns the model type name. This is a friendly identifier that is used to
28:             * look up the SPI class for the model
29:             *
30:             * @return the model type
31:             */
32:            String getType();
33:
34:            /**
35:             * The entry point resolver is used to determine the method to be called on a
36:             * service when an event is received for it.
37:             *
38:             * @return Returns the entryPointResolver.
39:             */
40:            EntryPointResolverSet getEntryPointResolverSet();
41:
42:            /**
43:             * This will be used to build entry points on the components registered with the
44:             * model.
45:             *
46:             * @param entryPointResolver The entryPointResolver to set. This will be used to
47:             *                           build entry points on the components registered with the model.
48:             */
49:            void setEntryPointResolverSet(
50:                    EntryPointResolverSet entryPointResolver);
51:
52:            /**
53:             * The lifecycle adapter is used by the model to translate Mule lifecycle event
54:             * to events that UMO components registered with the model understand. The
55:             * <code>LifecycleAdapterFactory</code> is used by the model to instanciate
56:             * LifecycleAdapters.
57:             *
58:             * @return Returns the lifecycleAdapterFactory used by this Model.
59:             * @see LifecycleAdapterFactory
60:             * @see org.mule.api.component.LifecycleAdapter
61:             */
62:            LifecycleAdapterFactory getLifecycleAdapterFactory();
63:
64:            /**
65:             * Sets the lifecycleAdapterFactory on the model.
66:             *
67:             * @param lifecycleAdapterFactory The lifecycleAdapterFactory to set on this
68:             *                                model.
69:             * @see LifecycleAdapterFactory
70:             * @see org.mule.api.component.LifecycleAdapter
71:             */
72:            void setLifecycleAdapterFactory(
73:                    LifecycleAdapterFactory lifecycleAdapterFactory);
74:
75:            /**
76:             * The exception strategy to use by components managed by the model. The
77:             * exception strategy is used when an exception occurs while processing the
78:             * current event for a service. A service can define it's own exception
79:             * strategy, but if it doesn't this implmentation will be used.
80:             *
81:             * @return the default exception strategy for this model.
82:             * @see ExceptionListener
83:             */
84:            ExceptionListener getExceptionListener();
85:
86:            /**
87:             * The exception strategy to use by components managed by the model. The
88:             * exception strategy is used when an exception occurs while processing the
89:             * current event for a service. A service can define it's own exception
90:             * strategy, but if it doesn't this implmentation will be used.
91:             *
92:             * @param listener the default exception strategy for this model.
93:             * @see ExceptionListener
94:             */
95:            void setExceptionListener(ExceptionListener listener);
96:
97:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.