private final Bus bus;
private final Object endpointInstance;
public CXFWebServiceContainerFactoryGBean(PortInfo portInfo, String endpointClassName, ClassLoader classLoader) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
this.portInfo = portInfo;
this.bus = new CXFBusFactory().getDefaultBus();
Class endpointClass = classLoader.loadClass(endpointClassName);
endpointInstance = endpointClass.newInstance();
}