Java Doc for Component.java in  » Database-ORM » MMBase » org » mmbase » framework » 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 » Database ORM » MMBase » org.mmbase.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.mmbase.framework.Component

All known Subclasses:   org.mmbase.framework.BasicComponent,
Component
public interface Component (Code)
A component is a piece of pluggable functionality that typically has dependencies on other components. A Component bundles Block s, Action s and @Setting .
author:
   Michiel Meeuwissen
version:
   $Id: Component.java,v 1.19 2008/02/22 14:05:57 michiel Exp $
since:
   MMBase-1.9




Method Summary
 voidconfigure(org.w3c.dom.Element element)
     Configures the component, by XML.
 Map<String, Action>getActions()
     A component may also define extra 'actions'.
 BlockgetBlock(String name)
     Gets a specific block.
 Collection<Block>getBlocks()
    
 StringgetBundle()
     The baseName of the resource bundle associated with i18n messages for this component. See java.util.ResourceBundle.getBundle(StringLocale) .
 BlockgetDefaultBlock()
    
 Collection<Component>getDependencies()
     All (satisfied) depedencies of this Component.
 LocalizedStringgetDescription()
     The description can contain further information about the component, mainly to be displayed in pages about components generally.
 StringgetName()
    
 SettinggetSetting(String name)
     Retrieves a setting (a definition, not a value; for that, use Framework.getSettingValue(SettingParameters) ) with a certain name.
 Collection<Setting<?>>getSettings()
    
 Collection<VirtualComponent>getUnsatisfiedDependencies()
     The unsatisfied dependencies, so this should return an empty collection.
 URIgetUri()
     An URI which may identify the configuration of this Component.
 intgetVersion()
     A component has a version number.
 voidresolve(VirtualComponent unsatified, Component satisfied)
     Used during bootstrapping.



Method Detail
configure
void configure(org.w3c.dom.Element element)(Code)
Configures the component, by XML.
Parameters:
  element - A 'component' element from the 'components' XSD.



getActions
Map<String, Action> getActions()(Code)
A component may also define extra 'actions'.



getBlock
Block getBlock(String name)(Code)
Gets a specific block. If there is no such block, then null is returned.
Parameters:
  name - The name of the block. If this parameter is null, then Component.getDefaultBlock canbe returned.



getBlocks
Collection<Block> getBlocks()(Code)
An unmodifiable collection of all blocks associated with the component



getBundle
String getBundle()(Code)
The baseName of the resource bundle associated with i18n messages for this component. See java.util.ResourceBundle.getBundle(StringLocale) . The framework should decorate the request with this like fmt:bundle before rendinger a block.



getDefaultBlock
Block getDefaultBlock()(Code)
Gets the one block that is the 'default' block of this component



getDependencies
Collection<Component> getDependencies()(Code)
All (satisfied) depedencies of this Component. See als Component.getUnsatisfiedDependencies .



getDescription
LocalizedString getDescription()(Code)
The description can contain further information about the component, mainly to be displayed in pages about components generally.



getName
String getName()(Code)
Every component has a (universally) unique name



getSetting
Setting getSetting(String name)(Code)
Retrieves a setting (a definition, not a value; for that, use Framework.getSettingValue(SettingParameters) ) with a certain name. Or null if no such setting in this component.



getSettings
Collection<Setting<?>> getSettings()(Code)
An unmodifiable collection of all settings associated with this component



getUnsatisfiedDependencies
Collection<VirtualComponent> getUnsatisfiedDependencies()(Code)
The unsatisfied dependencies, so this should return an empty collection. Unless the framework is still initializing, because initially dependencies can be temporary added as 'unsatisfied' because perhaps this other component is simply not yet loaded. The ComponentRepository will call Component.resolve(VirtualComponent,Component) when a dependency is satisfied after all.



getUri
URI getUri()(Code)
An URI which may identify the configuration of this Component.



getVersion
int getVersion()(Code)
A component has a version number.



resolve
void resolve(VirtualComponent unsatified, Component satisfied)(Code)
Used during bootstrapping. See also Component.getUnsatisfiedDependencies()



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.