System and method for descriptor classes
First Claim
1. A system to provide a descriptor class framework, comprising:
- a descriptor capable of representing modifiable configuration data of a software component in persistent data;
one or more descriptor classes, wherein each of the one or more descriptor classes is capable of maintaining one or more properties corresponding to a portion of the descriptor; and
a descriptor class management component capable of at least one of;
generating and/or updating the one or more descriptor classes from the descriptor; and
generating and/or updating the descriptor from the one or more descriptor classes.
2 Assignments
0 Petitions
Accused Products
Abstract
A descriptor class framework fully support a “start-from-class” approach, which defines a descriptor via a set of programmable classes defined in an object-oriented programming language. While the persistent form of a descriptor of a deployed software component is a file, the developer of an application using software component may view the descriptor as a set of programmable descriptor classes. A set of classes can be generated from a descriptor based on a set of construction rules and vise versa. Each class can be annotated, validated and customized. The descriptor class framework is also capable of determining the differences between two versions of a descriptor and notifying the changes to a corresponding class via events to a listener registered with the class. This description is not intended to be a complete description of, or limit the scope of, the invention. Other features, aspects, and objects of the invention can be obtained from a review of the specification, the figures, and the claims.
51 Citations
20 Claims
-
1. A system to provide a descriptor class framework, comprising:
-
a descriptor capable of representing modifiable configuration data of a software component in persistent data;
one or more descriptor classes, wherein each of the one or more descriptor classes is capable of maintaining one or more properties corresponding to a portion of the descriptor; and
a descriptor class management component capable of at least one of;
generating and/or updating the one or more descriptor classes from the descriptor; and
generating and/or updating the descriptor from the one or more descriptor classes. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method to provide a descriptor class framework, comprising:
-
representing modifiable configuration data of a software component via a descriptor in a persistent file;
containing one or more descriptor classes in a hierarchical structure via a descriptor class set, wherein a descriptor class of the one or more descriptor classes can be defined by an object-oriented programming language and is capable of maintaining one or more properties corresponding to a portion of the descriptor; and
performing at least one of the following via a descriptor class management component;
generating and/or updating the hierarchical structure of the one or more descriptor classes from the descriptor; and
generating and/or updating the descriptor from the hierarchical structure of the one or more descriptor classes. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A machine readable medium having instructions stored thereon that when executed cause a system to:
-
represent modifiable configuration data of a software component as an XML file;
contain one or more descriptor beans in a tree structure via a descriptor bean graph and/or tree, wherein a descriptor bean of the one or more descriptor beans is a Java interface capable of maintaining one or more properties corresponding to an XML schema in the XML file in the descriptor; and
perform at least one of the following via a descriptor bean management component;
generating and/or updating the descriptor bean graph and/or tree from the descriptor via generating and/or updating the interface from the XML schema; and
generating and/or updating the descriptor from the descriptor bean graph and/or tree via generating and/or updating the XML schema from the interface.
-
-
20. A system to provide a descriptor object framework, comprising:
-
means for representing modifiable configuration data of a software component via a descriptor in persistent data;
means for performing at least one of the following via a descriptor class management component;
generating and/or updating one or more descriptor classes from the descriptor, wherein each of the one or more descriptor classes is capable of maintaining one or more properties corresponding to a portion of the descriptor; and
generating and/or updating the descriptor from the one or more descriptor classes.
-
Specification