container/components/components/src/main/java/org/mobicents/slee/container/component/AbstractSleeComponent.java
public ClassPool getClassPool() {
		if (classPool == null) {
			if (classLoader == null) {
				throw new IllegalStateException("can't init javassit classpool, there is no class loader set for the component");
			}
			classPool = new ClassPool();
			// add class path for domain and dependencies
			classPool.appendClassPath(new LoaderClassPath(classLoaderDomain));
			for(ClassLoader domainDependencies : classLoaderDomain.getAllDependencies()) {
				classPool.appendClassPath(new LoaderClassPath(domainDependencies));
			}
			// add class path also for slee 
			classPool.appendClassPath(new LoaderClassPath(classLoaderDomain.getParent()));
		}		
		return classPool;
	}
public ClassPool getClassPool() {
		if (classPool == null) {
			if (classLoader == null) {
				throw new IllegalStateException("can't init javassit classpool, there is no class loader set for the component");
			}
			classPool = new ClassPool();
			// add class path for domain and dependencies
			classPool.appendClassPath(new LoaderClassPath(classLoaderDomain));
			for(ClassLoader domainDependencies : classLoaderDomain.getAllDependencies()) {
				classPool.appendClassPath(new LoaderClassPath(domainDependencies));
			}
			// add class path also for slee 
			classPool.appendClassPath(new LoaderClassPath(classLoaderDomain.getParent()));
		}		
		return classPool;
	}
public ClassPool getClassPool ( ) { if ( classPool == null ) { if ( classLoader == null ) { throw new IllegalStateException ( "can't init javassit classpool, there is no class loader set for the component" ) ; } classPool = new ClassPool ( ) ; // add class path for domain and dependencies classPool . appendClassPath ( new LoaderClassPath ( classLoaderDomain ) ) ; for ( ClassLoader domainDependencies : classLoaderDomain . getAllDependencies ( ) ) { classPool . appendClassPath ( new LoaderClassPath ( domainDependencies ) ) ; } // add class path also for slee  classPool . appendClassPath ( new LoaderClassPath ( classLoaderDomain . getParent ( ) ) ) ; } return classPool ; }
Retrieves the component javassist class pool

@return
Retrieves the component javassist class pool