final PolicyReferenceFactory referenceFactory) {
MultiplexingPolicyActivator policyActivator =
new MultiplexingPolicyActivator();
PolicyActivator variablePolicyActivator =
new VariablePolicyActivator(referenceFactory);
for (Iterator i = VariablePolicyType.getVariablePolicyTypes().iterator();
i.hasNext();) {
PolicyType policyType = (PolicyType) i.next();
PolicyActivator activator;
if (policyType == PolicyType.THEME) {
activator = new ThemeActivator(referenceFactory);
} else if (policyType == PolicyType.LAYOUT) {
activator = new LayoutActivator(referenceFactory);
} else {