carbon

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 » Inversion of Control » carbon 
Carbon
License:Mozilla Public License
URL:http://carbon.sourceforge.net/
Description:Carbon is a light-weight component model and services framework.
Package NameComment
org.sape.carbon.core.bootstrap

This package contains the functionality to bring the system to a running state. Once either of the public methods on the static BootStrapper class completes, the system is up and running and ready for requests.

org.sape.carbon.core.bootstrap.test
org.sape.carbon.core.component

The component package contains the classes that handle the life and death of components and are the source of references to components while they are still living.

org.sape.carbon.core.component.event

Contains the supporting interface and class for sending events to components that are configured to handle event sending. This mechanism is designed to be a lightweight event system notification layer and not a robust messaging layer. The expected usage is to have functional implementations and interceptors send messages through JMX notifications that are handled by a ManagementInterceptor.

org.sape.carbon.core.component.factory

Provides for the construction of live Carbon Components in the form specified by their template configuration. These classes instantiate each part of a component (the functional implementation, the set of assistants and the proxy that ties them all together) and then coordinates their assembly into a live component.

org.sape.carbon.core.component.factory.test
org.sape.carbon.core.component.lifecycle

The lifecycle package contains the interfaces describing lifecycle functionality for components. Lifecycle functionality exists primarily to support configuration and management.

Requirements

Design

Discarded Alternatives

Related Technotes

Author Chris Herron, January 2002
Version $Revision: 1.7 $($Author: ghinkl $ / $Date: 2002/01/08 15:54:34 $)
Copyright 2002 Sapient

org.sape.carbon.core.component.lifecycle.test
org.sape.carbon.core.component.proxy

This package contains the Component Proxy implementation in the form of a DynamicProxy InvocationHandler. This is the glue that ties a Carbon Component together and will contain the functionality of the service as well as any assistants that are assigned to this component.

org.sape.carbon.core.component.proxy.test
org.sape.carbon.core.component.startup

This package contains the definition of the component that starts other components as part of the bootstrap sequence. It also contains the default implementation.

org.sape.carbon.core.component.startup.test
org.sape.carbon.core.component.test
org.sape.carbon.core.config

The configuration package provides the core infrastructure and the service interfaces for the configuration of components and non-component clients. This service provides type-safe access to values that may be stored in any number of external stores and the automated control and persistance of that data. The core config package is delivered default with the capability to store data into XML files on a file system.

This service is designed in such a way that their is two plug points for alteration. The repository and persistence engine can each be replaced seperate of each other.

org.sape.carbon.core.config.cache

Contains supporting classes to implement a caching layer to speed up configuration document retrievals. This package does not support the internal value caching that is implemented by the format service. It is strictly supplied to support the caching of full document files. In order for the cache to stay synchronized with the backing store, the supplied implementation supports the NodeListener functionality to be notified of file changes that happen within the system.

org.sape.carbon.core.config.cache.test
org.sape.carbon.core.config.format

This format package defines the generic interface that streams based repositories will use to load and store configurations.

org.sape.carbon.core.config.format.jdom

This package contains the default implementor of configuration objects in the Carbon Core Configuration Subsystem. This system is designed to implement interfaces that represent configuration data and to support their connection to an underlying storage and management mechanism.

This default implementation utilizes the JDOM document management objects of the open source JDOM project as its underlying datastructure. This allowes the system to read directly from XML into the system native data format and then to provide an JavaBean syntax view into that data.

org.sape.carbon.core.config.format.test
org.sape.carbon.core.config.interceptor

Contains the interface and implementation for the default configuration support for components. This interceptor provides general configuration support for a component such as tracking live and working copies of its configuration and exposing the configuration interface up through the component facade. The live instance of a configuration interceptor actually exposes the main configuration interface along with the configuration interceptor interface.

org.sape.carbon.core.config.interceptor.test
org.sape.carbon.core.config.node

The node package contains the data structure used to hold configuration within the ConfigurationService. The data structure is a graph of Nodes. Each Node has some basic functionality described by the Node interface. There are 3 sub-types of Node, Folder, LinkNode and ConfigurationDocument, described by their own interfaces. Folder objects are responsible for the hierachy of the data structure. They contain other Nodes. LinkNodes link to other Nodes either within the same data store or in a different one. ConfigurationDocuments contain the configuration data. There is an abstract class for each of these interfaces. These classes implement all the required functionality that is not specific to the underlying data store. They provide method signatures for extending classes to implement to provide access to specific data sources.

Nodes should only be constructed using a NodeFactory or a LinkNodeFactory.

org.sape.carbon.core.config.node.event

This package contains the classes used by the configuration change notification events.

org.sape.carbon.core.config.node.file

This package contains the file-based implementation of the Configuration nodes interfaces. These interfaces provide a tree-like view into configuration documents stored in a hierarchical directory structure on any standard filesystem. This package supports both the reading and writing of configurations.

org.sape.carbon.core.config.node.link

This package contains interfaces and classes used to implement link nodes. Link nodes are used to create links between nodes within an existing node structure or to mount new node structures.

org.sape.carbon.core.config.test
org.sape.carbon.core.config.type

The config type package is designed to provide a simple, but extensible type formatting service for use by the configuration subsystem.

This system is designed to format objects into their String representations and from those Strings construct their object representation. It is designed to encapsulate the data constitution from the raw stream of the configuration store.

org.sape.carbon.core.config.type.handlers

This package contains the basic set of supported type handlers as used by the configuration subsystem.

These classes support the basic transfer from objects to strings and back to objects of basic configuration supported types.

org.sape.carbon.core.exception

The exception package contains the basis of framework exception handling and provides a base class and a delegate to support the development of new exceptions.

org.sape.carbon.core.test
org.sape.carbon.core.util.calendar

This package provides a couple of enumerations helpful when dealing with calendars

org.sape.carbon.core.util.classify

The classify utility class is designed to create a standard classification system used by the Carbon Core and its dependent services for a common understanding of events.

This commonality includes the management the severity of an event as well as its source and is used between both the exception handling subsytem and the standard logging system. This allows developers to create classes of exceptions and classify their severity as well as where they came from code wise. This will allow the logging system to automatically log them as well as filter the exceptions into groups, as configured by the user, so that they only see the messages and exceptions that they choose to see.

org.sape.carbon.core.util.enum

This package provides the basic service of type-safe enumerations to the core framework. This enumerations packages provides a base class to support easy extension into subclasses and is used in the core to provide enumerated types.

org.sape.carbon.core.util.enum.test
org.sape.carbon.core.util.jar

This package contains utility classes useful in manipulating jar files. The classes build upon classes in java.util.jar.

Author Douglas Voet, April 2002
Version $Revision: 1.1 $($Author: dvoet $ / $Date: 2002/08/27 15:34:34 $)
Copyright 2002 Sapient

org.sape.carbon.core.util.reflection

The utility reflection package contains general utilities that are utilized to accomplish reflective tasks. These classes are just helpers to make reflection and dynamic proxy code simpler.

org.sape.carbon.core.util.reflection.test
org.sape.carbon.core.util.string

This package contains utilities for working with strings and character arrays.

org.sape.carbon.core.util.thread

This package provides some utilities for threading and synchronization used by the Carbon Core Component System.

org.sape.carbon.services.cache

The Cache Service is designed to cache frequently used data in a refreshable, high performance, thread-safe fashion. There are 2 main implementaions of the cache system, total cache and most recently used (MRU) cache. The former is used for caching entire sets of data and the latter is used for caching only a portion of the entire set of data using a most recently used algorithm to decide which data to keep (the most recently used data is kept in the cache).

org.sape.carbon.services.cache.mru

This package contains all classes for defining and implementing Most Recently Used (MRU) caches.

org.sape.carbon.services.cache.test
org.sape.carbon.services.cache.total

This package contains all classes for defining and implementing read-only and writable total caches.

org.sape.carbon.services.carbonmanagement

Contains a general utility component that exposes basic Carbon control through JMX.

org.sape.carbon.services.clustering
org.sape.carbon.services.clustering.test
org.sape.carbon.services.config.classloader

This package contains the classloader based implementation of the Configuration nodes interfaces. These interfaces provide a tree-like view into configuration documents stored in a hierarchical directory structure within the classloader. This package supports both the reading from classloader resources and writing to in-memory configuration objects.

org.sape.carbon.services.config.classloader.test
org.sape.carbon.services.config.jar

This package contains the jar-file based implementation of the Configuration nodes interfaces. These interfaces provide a tree-like view into configuration documents stored in a hierarchical directory structure within a jar. This package supports both the reading and writing of configurations to jars.

org.sape.carbon.services.config.jar.test
org.sape.carbon.services.config.jndi

Contains a JNDI-backed implementation of carbon configuration nodes that support the storage of configuration data in directory servers. Any JNDI supported directory server can be used.

org.sape.carbon.services.config.jndi.test
org.sape.carbon.services.console

This package contains a graphical user interface for the Carbon Component Model. It provides a tree structure view into configuration and component information.

org.sape.carbon.services.deployment

The DeploymentService is designed to help manage differences in configurations between application deployments. This service service allows configurations for all environments and all instances within each environment to be stored separately and chooses the right configuration at runtime for each environment/instance. This allows all configurations to reside under source control and alleviates the error prone task of maintaining manually modified files on each deployment.

For example, a project may have a development team of 15 engineers, 2 test instances, 2 staging instances and 4 instances in production. Each instance within each environment must be configured with its host and port. Without this service, each of the 23 deployed instances would have a configuration file that would be manually modified to contain the correct data. Historically, this kind of process is error prone, difficult to manage, and a constant headache for project teams. This service allows all 23 configurations to reside in the source code repository and managed as code.

org.sape.carbon.services.deployment.namelookup

NameLookups are components that provide the deployment service with names that specify either an environment or instance.

org.sape.carbon.services.deployment.test
org.sape.carbon.services.devtools.junit.launcher
org.sape.carbon.services.ejb

The EJB service facilitates Enterprise Java Bean lookup via a variety of factory methods. Presently, the EJB service consists of two "home factory" components; one is dedicated to locally deployed EJBs, while the other provides similar functionality for remotely deployed EJBs. These components are encapsulated into two sub-packages:

  • org.sape.carbon.services.ejb.local
    • LocalHomeFactory - the functional interface of the local home factory component
    • LocalHomeFactoryImpl - the implementation of the local home factory functional interface
  • org.sape.carbon.services.ejb.remote
    • RemoteHomeFactory - the functional interface of the remote home factory component
    • RemoteHomeFactoryImpl - the implementation of the remote home factory functional interface

The EJB service also provides EJB home interface caching functionality and a generic exception handling strategy that applies to both the local and remote home factories.

org.sape.carbon.services.ejb.local

Supports the lookup of Local EJBs as per the EJB 2.0 specification.

org.sape.carbon.services.ejb.local.test
org.sape.carbon.services.ejb.remote

Supports the lookup of remote EJBs as per the EJB specification.

org.sape.carbon.services.ejb.remote.test
org.sape.carbon.services.email

Contains the interfaces and implementations of an email sending service.

org.sape.carbon.services.email.test
org.sape.carbon.services.email.util

Contains data holding classes for declaring attachements within an email message.

org.sape.carbon.services.exception

Contains a simple graphical exception delegate designed to display high-severity exception directly to a user.

org.sape.carbon.services.instrumentation.statistics This package contains a statistics tracking component assistant for tracking the execution of component methods.

org.sape.carbon.services.instrumentation.statistics.test
org.sape.carbon.services.jmx.server

This package contains a component that acts as the controller for an JMX MBeanServer. This component manages the starting and registering of the Server as well as giving component clients access to it.

org.sape.carbon.services.jmx.server.mx4j

Contains the classes for an MX4J MBean Server and adapters to access it.

org.sape.carbon.services.jmx.server.mx4j.test
org.sape.carbon.services.jmx.server.remote

This package contains a component for supplying a remote, administration connector to the JMX MBeanServer.

org.sape.carbon.services.jmx.server.weblogic

Contains the classes for connecting to Weblogic 7.0's MBean server.

org.sape.carbon.services.jndi

The JNDI service provides components that aid in the use of JNDI.

org.sape.carbon.services.jndi.test
org.sape.carbon.services.log.console

This package contains a graphical user interface for viewing log messages. This is implemented through a LogService implementing adapator and a GUI Frame Window in Swing, that can display, filter and search log messages.

org.sape.carbon.services.management.interceptor

Contains the interceptor support for JMX management services.

org.sape.carbon.services.perflog This package contains objects used to track performance metrics in the system.

org.sape.carbon.services.perflog.test
org.sape.carbon.services.scheduler

The Scheduler service allows components to be called at scheduled times and intervals.

org.sape.carbon.services.scheduler.test
org.sape.carbon.services.security.auth.jaas

This package provides JAAS integration with the Carbon User Management Service.

org.sape.carbon.services.security.auth.weblogic61

Adapter classes to convert Weblogic security calls to the User Manager service.

Author Jordan Reed, January 2003
Version $Revision: 1.3 $($Author: ghinkl $ / $Date: 2003/04/04 01:12:02 $)
Copyright 2002 Sapient
@since carbon 1.2

org.sape.carbon.services.security.auth.weblogic7

Adapter classes to convert Weblogic security calls to the User Manager service.

Author Jordan Reed, January 2003
Version $Revision: 1.3 $($Author: ghinkl $ / $Date: 2003/04/04 01:12:02 $)
Copyright 2002 Sapient
@since carbon 1.2

org.sape.carbon.services.security.management

Interface for managing a user store.

Author Jordan Reed, November 2002
Version $Revision: 1.6 $($Author: ghinkl $ / $Date: 2003/04/04 01:12:02 $)
Copyright 2002 Sapient
@since carbon 1.2

org.sape.carbon.services.security.management.jndi
org.sape.carbon.services.security.management.rdbms

Implementation for managing a RDBMS user store.

Author Jordan Reed, November 2002
Version $Revision: 1.3 $($Author: ghinkl $ / $Date: 2003/04/04 01:12:03 $)
Copyright 2002 Sapient
@since carbon 1.2

org.sape.carbon.services.security.management.rdbms.test
org.sape.carbon.services.sql

The Carbon SQL service comprises of

  • SqlStatementFactory - The functional interface to the component
  • DefaultStatementFactoryImpl - The default funtional implementation that defines the createPreparedStatement and createCallableStatement methods.

org.sape.carbon.services.sql.connection

Contains the classes used to connect to JDBC datasources and driver connections through a configured setup.

org.sape.carbon.services.sql.connection.test
org.sape.carbon.services.sql.test
org.sape.carbon.services.sqldataloader.mru
org.sape.carbon.services.sqldataloader.mru.test
org.sape.carbon.services.sqldataloader.test
org.sape.carbon.services.sqldataloader.total
org.sape.carbon.services.sqldataloader.total.test
org.sape.carbon.services.swing.graph
org.sape.carbon.services.swing.treetable
org.sape.carbon.services.swing.ui
org.sape.carbon.services.threadpool
org.sape.carbon.services.threadpool.test
org.sape.carbon.services.uniqueid

The Carbon Unique ID Service solves the problem of generating unique IDs for data that are independent of the data representation itself. It can be used to get unique id numbers which serve as key values for database tables before the data is inserted into the table. Using generated or surrogate keys for business data allows changes to the underlying data to not effect the nature or identity of the data so that it can continue to be tracked.

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