String referenceClassName = serviceRef.getServiceRefType();
serviceReferenceType = loadClass(referenceClassName, bundle, "service reference");
}
if (serviceRef.getHandlerChains() != null) {
HandlerChains handlerChains = serviceRef.getHandlerChains();
for (HandlerChain handlerChain : handlerChains.getHandlerChain()) {
for (org.apache.openejb.jee.Handler handler : handlerChain.getHandler()) {
String handlerClassName = getStringValue(handler.getHandlerClass());
Class<?> handlerClass = loadClass(handlerClassName, bundle, "handler");
if (!Handler.class.isAssignableFrom(handlerClass)) {
throw new DeploymentException(handlerClassName + " handler class does not extend " + Handler.class.getName());