public String toString() { return InterceptorBinding.class.getName() + "[ejbName=" + getEjbName() + ",methodName=" + getMethodName() + ",ordered=" + isOrdered() + ",excludeClassInterceptors=" + excludeClassInterceptors + ",excludeDefaultInterceptors=" + excludeDefaultInterceptors + ",interceptorClasses=" + interceptorClasses + "]"; } }
/** * Called when parsing character is complete. */ public void addChild(InterceptorBinding parent, ExcludeClassInterceptors exclude, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.setExcludeClassInterceptors(true); }
/** * Called when parsing character is complete. */ public void addChild(InterceptorBinding parent, ExcludeDefaultInterceptors exclude, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.setExcludeDefaultInterceptors(true); }
public void setValue(InterceptorBinding binding, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("ejb-name")) { binding.setEjbName(getValue(localName, value)); } else if (localName.equals("interceptor-class")) { binding.addInterceptorClass(getValue(localName, value)); } else if (localName.equals("method-name")) { binding.setMethodName(getValue(localName, value)); } else if (localName.equals("method-param")) { binding.addMethodParam(getValue(localName, value)); } else if (localName.equals("exclude-default-interceptors")) { binding.setExcludeDefaultInterceptors(true); } else if (localName.equals("exclude-class-interceptors")) { binding.setExcludeClassInterceptors(true); } }
public Object newChild(InterceptorBinding binding, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs) { Object child = null; if (localName.equals("interceptor-order")) { child = new InterceptorOrder(); } else if (localName.equals("exclude-default-interceptors")) { child = new ExcludeDefaultInterceptors(); } else if (localName.equals("exclude-class-interceptors")) { child = new ExcludeClassInterceptors(); } else if (localName.equals("method-params")) { binding.setHasParameters(); } return child; }
public void setValue(InterceptorBinding binding, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("ejb-name")) { binding.setEjbName(getValue(localName, value)); } else if (localName.equals("interceptor-class")) { binding.addInterceptorClass(getValue(localName, value)); } else if (localName.equals("method-name")) { binding.setMethodName(getValue(localName, value)); } else if (localName.equals("method-param")) { binding.addMethodParam(getValue(localName, value)); } else if (localName.equals("exclude-default-interceptors")) { binding.setExcludeDefaultInterceptors(true); } else if (localName.equals("exclude-class-interceptors")) { binding.setExcludeClassInterceptors(true); } }
public Object newChild(InterceptorBinding binding, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs) { Object child = null; if (localName.equals("interceptor-order")) { child = new InterceptorOrder(); } else if (localName.equals("exclude-default-interceptors")) { child = new ExcludeDefaultInterceptors(); } else if (localName.equals("exclude-class-interceptors")) { child = new ExcludeClassInterceptors(); } else if (localName.equals("method-params")) { binding.setHasParameters(); } return child; }
child = new InterceptorBinding();
public String toString() { return InterceptorBinding.class.getName() + "[ejbName=" + getEjbName() + ",methodName=" + getMethodName() + ",ordered=" + isOrdered() + ",excludeClassInterceptors=" + excludeClassInterceptors + ",excludeDefaultInterceptors=" + excludeDefaultInterceptors + ",interceptorClasses=" + interceptorClasses + "]"; } }
/** * Called when parsing character is complete. */ public void addChild(InterceptorBinding parent, ExcludeClassInterceptors exclude, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.setExcludeClassInterceptors(true); }
/** * Called when parsing character is complete. */ public void addChild(InterceptorBinding parent, ExcludeDefaultInterceptors exclude, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.setExcludeDefaultInterceptors(true); }