What’s next

June 23, 2008

Java Sorting Box for dynamically invoking receptors

Filed under: Java — stigl @ 9:35 am
Tags: ,

System color is not a requirement.The system I want to create must invoke the receptor’s call(x) with the objects from the pile that correspond the receptors interface.

I have a pile of objects of the classes; PinkTriangle, GreenSylinder and RedSquare, implementing Interfaces Triangle, Square and Circle, and a set of receptors; TriangleHole, SquareHole og SircleHole, who’s call(x) functions accept Triangle, Square or Circle interfaces (or children).

Secondary requirement – Other restrictions may be applied and checked before execution, eg. a simple rule language in the Circle call’s functions annotation, describing max X and Y size.

Detailed graphical illustration of how the System and intended behaviour:

Is there any Java library that facilitates this kind of behaviour? Preferrably as simple as possible.

PS, Guess what the system Demo will look like! šŸ™‚


1 Comment »

  1. Current suggestions:
    * Reflection – Don’t want to go there if I can avoid it, because of possible complexity
    * Oval Object Validation Framework – http://oval.sourceforge.net/

    Comment by stigl — June 23, 2008 @ 10:34 am | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: