Tag reusable components in Java