Examples of BindingProvider


Examples of org.codehaus.xfire.service.binding.BindingProvider

                                                 exDetail);

        if (faultPart == null || faultPart.getTypeClass() == null)
            return;

        BindingProvider provider = context.getService().getBindingProvider();
        JDOMStreamReader reader = new JDOMStreamReader(exDetail);
        reader.nextTag();
       
        Object e = (Object) provider.readParameter(faultPart, reader, context);
        if (!(e instanceof Exception))
        {
            Class exClass = ((FaultInfo) faultPart.getContainer()).getExceptionClass();
           
            Constructor constructor = exClass.getConstructor(new Class[] {String.class, faultPart.getTypeClass()});
View Full Code Here

Examples of org.gatein.management.api.binding.BindingProvider

      return this;
   }

   public <T> Marshaller<T> getMarshaller(Class<T> type, ContentType contentType, String componentName)
   {
      BindingProvider bp = service.getBindingProvider(componentName);
      if (bp == null) return null;

      return bp.getMarshaller(type, contentType);
   }
View Full Code Here

Examples of org.gatein.management.api.binding.BindingProvider

* @author <a href="mailto:nscavell@redhat.com">Nick Scavelli</a>
* @version $Revision$
*/
public class FilteredNavigationExportResource {
    protected void execute(OperationContext operationContext, ResultHandler resultHandler, PathTemplateFilter filter) {
        BindingProvider bindingProvider = operationContext.getBindingProvider();
        Marshaller<PageNavigation> marshaller = bindingProvider.getMarshaller(PageNavigation.class, ContentType.XML);

        final ManagedResource resource = operationContext.getManagedResource();
        final PathAddress address = operationContext.getAddress();
        final String operationName = operationContext.getOperationName();

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.