}
public synchronized void start() throws Exception {
if (bootstrapContext == null) {
Executor executor = getServiceUnit().getComponent().getExecutor();
WorkManager wm = new WorkManagerWrapper(executor);
bootstrapContext = new SimpleBootstrapContext(wm);
}
resourceAdapter.start(bootstrapContext);
activationSpec.setResourceAdapter(resourceAdapter);
if (endpointFactory == null) {