1. Refactor the current AdapterDeploymentContextBean to be an interface and maybe rename it AdapterDeploymentContextFactory.
2. Split the current implementation into:a. ClasspathAdapterDeploymentContextFactory > loads from class pathb. WebApplicationAdapterDeploymentContextFactory > loads from WEB-INFc. JndiAdapterDeploymentContextFactory > load from JNDI
If we agree this is a good approach you want to take a stab at it Thomas or should I?