IP Library Patent Application 12184924
Patent Application
App. No. 12/184,924

ANNOTATION DATA HANDLERS FOR DATA STREAM PROCESSING

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
12/184,924
Abstract

A method and apparatus for annotation data handlers for data stream processing. An embodiment of a method for processing annotations in computer files includes receiving a data stream input at a scanner component, where the data stream input represents program elements of one or more computer files. The data stream input is scanned for annotations, and a data stream is generated comprising annotated program elements and associated annotation values. The annotated program elements and annotation values are provided as an input to a handler component. The handler component performs one of filtering the annotated program elements and annotation values data, or echoing the annotated program elements and annotation values, and the handler component generates an output.

Claims (39)

1 . A method for processing annotations in computer files comprising:

receiving a data stream input at a scanner component, the data stream input representing a plurality of program elements of one or more computer files;

scanning the data stream input for annotations;

generating a data stream comprising a plurality of annotated program elements and associated annotation values;

providing the annotated program elements and annotation values as input to a handler component, wherein the handler component performs one of the handling functions comprising:

filtering the annotated program elements and annotation values data, or

echoing the annotated program elements and annotation values; and

generating an output from the handler component.

2 . The method of claim 1 , wherein the output from the handler component is a data stream having the same format as the input to the handler component.

3 . The method of claim 2 , further comprising providing the output from the handler component as input to a second handler component.

4 . The method of claim 1 , wherein filtering the annotated program elements and annotation values further includes providing feedback regarding which annotations are desired.

5 . The method of claim 1 , wherein scanning the data stream input for annotations is based at least in part on the feedback regarding which annotations are desired.

6 . The method of claim 1 , wherein the output of the listening component is an echo of the input data to the listening component.

7 . The method of claim 1 , wherein the one or more computer files comprise Java class files.

8 . An annotation processing system comprising:

a data scanning module, the data scanning module to receive a data stream input containing a plurality of program elements and to scan the data stream input to identify annotated data elements and annotation values; and

a data handler module, the data handler module to receive the identified annotated data elements and annotation values, the data handler module being one of the following:

a stream processing handler to filter annotations and to generate feedback to the data scanning module regarding annotations that are needed; or

an echo mechanism to echo the annotated data elements and annotation values.

9 . The system of claim 8 , further comprising a second data handler module, wherein an output of the data handler module is an input to the second data handler module.

10 . The system of claim 9 , wherein a format of the output of the data handler module is the same as the format of the input to the data handler module.

11 . The system of claim 8 , wherein the stream processing handler comprises one or more configurable parameters for a filter condition.

12 . The system of claim 8 , wherein the echo mechanism produces a text stream for a user.

13 . The system of claim 7 , wherein the echo mechanism produces text for external processing.

14 . An article of manufacture comprising:

a computer-readable medium including instructions that, when accessed by a processor, cause the computer to perform operations comprising:

receiving a data stream input at a scanner component, the data stream input representing a plurality of program elements of one or more computer files;

scanning the data stream input for annotations;

generating a data stream comprising a plurality of annotated program elements and associated annotation values;

providing the annotated program elements and annotation values as input to a handler component, wherein the handler component performs one of the handling functions comprising:

filtering the annotated program elements and annotation values data, or

echoing the annotated program elements and annotation values; and

generating an output from the handler component.

15 . The article of manufacture of claim 14 , wherein the output from the listening component is a data stream having the same format as the input to the listening component.

16 . The article of manufacture of claim 15 , where the listening function of the listening component is either filtering the type definition and type usage data or aggregating the type usage data.

17 . The article of manufacture of claim 15 , wherein the medium further includes instructions that, when accessed by a processor, cause the computer to perform operations comprising:

providing the output from the listening component as input to a second listening component.

18 . The article of manufacture of claim 14 , wherein the output of the listening component is an echo of the input data to the listening component.

19 . The article of manufacture of claim 14 , wherein the one or more computer files comprise Java class files.

Assignments (2)
CHANGE OF NAME Recorded Aug 26, 2014
From: SAP AG
To: SAP SE
Reel/Frame 033625/0223 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 4, 2008
From: THEOBALD, DIETMAR
To: SAP AG
Reel/Frame 021334/0433 →