aquinas ethicus: or, the moral teaching of st. thomas.
p. 14
goodness of every virtue, whether it directs a man in regard of himself, or directs him in regard of other individuals, is referable to the general good to which justice leads. And thus the acts of all the virtues may belong to justice, as that directs a man to the general good; and in this respect justice is called a general virtue. And because it is the office of law to direct a people to the general good, hence the above-described general justice is styled legal justice, because by it man keeps accord with the law that directs acts of all the virtues to the general good.
ARTICLE VI.—Is justice, inasmuch as it is a general virtue, essentially identical with all virtue?
R. The word general may be taken in two ways. One way is the way of logical predication, as animal is a general term with respect to man and horse. What is general in this way, must be identical in essence with the things about which it is general; because the genus belongs to the essence of the species, and is included in the definition of the same. A thing is otherwise called general in the way of efficiency. Thus a universal cause is general in reference to all its effects, as the sun in reference to all bodies that are illuminated or changed by its virtue. What is general in this way, need not be identical in essence with the objects in respect whereof it is general: because the essence of the effect and of the cause is not the same. In this latter way legal justice is said to be a general virtue, inasmuch as it directs the acts of the other virtues