Combining different facility classes for Java