public Activator createActivator(ServiceDomain domain) {
if (domain == null) {
throw new NullPointerException("domain cannot be null");
}
BPELEngine engine = getEngine(domain);
BPELActivator activator = new BPELActivator(engine, (RiftsawServiceLocator) engine.getServiceLocator(), _config);
activator.setServiceDomain(domain);
return activator;
}