Source Code Cross Referenced for JavaComponent.java in  » ESB » mule » org » mule » api » component » 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.component 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * $Id: JavaComponent.java 11379 2008-03-17 02:46:56Z dfeist $
003:         * --------------------------------------------------------------------------------------
004:         * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
005:         *
006:         * The software in this package is published under the terms of the CPAL v1.0
007:         * license, a copy of which has been included with this distribution in the
008:         * LICENSE.txt file.
009:         */
010:
011:        package org.mule.api.component;
012:
013:        import org.mule.api.model.EntryPointResolverSet;
014:        import org.mule.api.object.ObjectFactory;
015:        import org.mule.api.routing.NestedRouterCollection;
016:        import org.mule.component.PooledJavaComponent;
017:        import org.mule.object.PrototypeObjectFactory;
018:        import org.mule.object.SingletonObjectFactory;
019:
020:        /**
021:         * <code>JavaComponent</code> is a Java {@link Component} implementation used to
022:         * invoke Java component implementations. A <code>JavaComponent</code> uses an
023:         * {@link ObjectFactory} to specify the object instance's source and allows for
024:         * singleton and prototype implementations to be used along with other custom
025:         * {@link ObjectFactory} that allow component instances to be obtained from
026:         * containers such as Spring. A <code>JavaComponent</code> uses a customizable
027:         * {@link EntryPointResolverSet} in order to resolve which method should be used for
028:         * invocation and allows java bindings to be configure. Java Component bindings, if
029:         * implemented by the JavaComponent implementation, uses a component instance proxy
030:         * to implement interface methods using calls to outbound endpoints.
031:         */
032:        public interface JavaComponent extends Component {
033:
034:            /**
035:             * A {@link JavaComponent} can have a custom entry-point resolver for its own
036:             * object. By default this is null. When set this resolver will override the
037:             * resolver on the model
038:             * 
039:             * @return Null is a resolver set has not been set otherwise the resolver to use
040:             *         on this service
041:             */
042:            EntryPointResolverSet getEntryPointResolverSet();
043:
044:            /**
045:             * A {@link JavaComponent} can have a custom entry-point resolver for its own
046:             * object. By default this is null. When set this resolver will override the
047:             * resolver on the model
048:             * 
049:             * @return Null is a resolver set has not been set otherwise the resolver to use
050:             *         on this service
051:             */
052:            void setEntryPointResolverSet(
053:                    EntryPointResolverSet entryPointResolverSet);
054:
055:            // TODO This should be renamed to something like "Bindings", moved up to
056:            // Component. NestedRouter should also be renamed to "Binding" and made more
057:            // generic so as to support other types of bindings e.g. wsdl port -> ws-endpont,
058:            // or script context variable -> outbound endpoint etc. See MULE-3114
059:            NestedRouterCollection getNestedRouter();
060:
061:            void setNestedRouter(NestedRouterCollection nestedRouter);
062:
063:            /**
064:             * The object factory used to obtain the component object instance. Mule core
065:             * provides two implementations: {@link SingletonObjectFactory} and
066:             * {@link PrototypeObjectFactory}.<br/> The spring-config module provides an
067:             * {@link ObjectFactory} implementation that delegates to spring. There is no
068:             * PooledObjectFactory, the {@link PooledJavaComponent} should be used for
069:             * pooling.
070:             * 
071:             * @param objectFactory
072:             */
073:            void setObjectFactory(ObjectFactory objectFactory);
074:
075:            /**
076:             * @return
077:             */
078:            ObjectFactory getObjectFactory();
079:
080:            /**
081:             * @return
082:             */
083:            Class getObjectType();
084:
085:            /**
086:             * Returns the factory used create life-cycle adaptors that are used to wrap
087:             * component instance.
088:             * 
089:             * @return
090:             */
091:            public LifecycleAdapterFactory getLifecycleAdapterFactory();
092:
093:            /**
094:             * Sets the factory used create life-cycle adaptors that are used to wrap
095:             * component instance.
096:             * 
097:             * @param lifecycleAdaptor
098:             */
099:            public void setLifecycleAdapterFactory(
100:                    LifecycleAdapterFactory lifecycleAdaptor);
101:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.