public AOPBasedSingletonContainer(ClassLoader cl, String beanClassName, String ejbName, Domain domain,
Hashtable ctxProperties, JBossSessionBean31MetaData beanMetaData, ExecutorService asyncExecutorService) throws ClassNotFoundException
{
super(cl, beanClassName, ejbName, domain, ctxProperties, beanMetaData, asyncExecutorService);
// HACK
this.dependencyPolicy = new JBoss5DependencyPolicy(this);
// create a AOP based interceptor registry which will be used by the container
InterceptorRegistry interceptorRegistry = new AOPBasedInterceptorRegistry(this);
// create the new jboss-ejb3-container-spi based singleton container
this.delegate = new SingletonContainer(this.getBeanClass(), beanMetaData, interceptorRegistry);
SingletonEJBInstanceManager instanceManager = new AOPBasedSingletonInstanceManager(this);