1 22 package org.jboss.test.webservice.jbws163; 23 24 import org.jboss.logging.Logger; 25 26 import javax.xml.rpc.holders.BigIntegerHolder ; 27 import javax.xml.rpc.holders.IntHolder ; 28 import javax.xml.rpc.holders.LongHolder ; 29 import javax.xml.rpc.holders.ShortHolder ; 30 import java.math.BigInteger ; 31 32 public class HelloJavaBean implements Hello 33 { 34 private Logger log = Logger.getLogger(HelloJavaBean.class); 35 36 public void nonPositiveInteger(BigInteger argIN, BigIntegerHolder argINOUT, BigIntegerHolder argOUT) 37 { 38 log.info("nonPositiveInteger: [argIn=" + argIN + ",argINOUT=" + argINOUT.value + ",argOUT=" + argOUT.value + "]"); 39 argINOUT.value = argIN; 40 argOUT.value = argIN; 41 } 42 43 public void negativeInteger(BigInteger argIN, BigIntegerHolder argINOUT, BigIntegerHolder argOUT) 44 { 45 log.info("negativeInteger: [argIn=" + argIN + ",argINOUT=" + argINOUT.value + ",argOUT=" + argOUT.value + "]"); 46 argINOUT.value = argIN; 47 argOUT.value = argIN; 48 } 49 50 public void nonNegativeInteger(BigInteger argIN, BigIntegerHolder argINOUT, BigIntegerHolder argOUT) 51 { 52 log.info("nonNegativeInteger: [argIn=" + argIN + ",argINOUT=" + argINOUT.value + ",argOUT=" + argOUT.value + "]"); 53 argINOUT.value = argIN; 54 argOUT.value = argIN; 55 } 56 57 public void unsignedLong(BigInteger argIN, BigIntegerHolder argINOUT, BigIntegerHolder argOUT) 58 { 59 log.info("unsignedLong: [argIn=" + argIN + ",argINOUT=" + argINOUT.value + ",argOUT=" + argOUT.value + "]"); 60 argINOUT.value = argIN; 61 argOUT.value = argIN; 62 } 63 64 public void positiveInteger(BigInteger argIN, BigIntegerHolder argINOUT, BigIntegerHolder argOUT) 65 { 66 log.info("positiveInteger: [argIn=" + argIN + ",argINOUT=" + argINOUT.value + ",argOUT=" + argOUT.value + "]"); 67 argINOUT.value = argIN; 68 argOUT.value = argIN; 69 } 70 71 public void unsignedInt(long argIN, LongHolder argINOUT, LongHolder argOUT) 72 { 73 log.info("unsignedInt: [argIn=" + argIN + ",argINOUT=" + argINOUT.value + ",argOUT=" + argOUT.value + "]"); 74 argINOUT.value = argIN; 75 argOUT.value = argIN; 76 } 77 78 public void unsignedShort(int argIN, IntHolder argINOUT, IntHolder argOUT) 79 { 80 log.info("unsignedShort: [argIn=" + argIN + ",argINOUT=" + argINOUT.value + ",argOUT=" + argOUT.value + "]"); 81 argINOUT.value = argIN; 82 argOUT.value = argIN; 83 } 84 85 public void unsignedByte(short argIN, ShortHolder argINOUT, ShortHolder argOUT) 86 { 87 log.info("unsignedByte: [argIn=" + argIN + ",argINOUT=" + argINOUT.value + ",argOUT=" + argOUT.value + "]"); 88 argINOUT.value = argIN; 89 argOUT.value = argIN; 90 } 91 } 92 | Popular Tags |