/** * Adds an operation to this service. * * @param oname the qualified name of the operation. * @return the operation. */ public OperationInfo addOperation(QName oname) { if (oname == null) { throw new NullPointerException( new Message("OPERATION.NAME.NOT.NULL", LOG).toString()); } if (operations.containsKey(oname)) { throw new IllegalArgumentException( new Message("DUPLICATED.OPERATION.NAME", LOG, new Object[]{oname}).toString()); } OperationInfo operation = new OperationInfo(this, oname); addOperation(operation); return operation; }
/** * Adds an operation to this service. * * @param oname the qualified name of the operation. * @return the operation. */ public OperationInfo addOperation(QName oname) { if (oname == null) { throw new NullPointerException( new Message("OPERATION.NAME.NOT.NULL", LOG).toString()); } if (operations.containsKey(oname)) { throw new IllegalArgumentException( new Message("DUPLICATED.OPERATION.NAME", LOG, new Object[]{oname}).toString()); } OperationInfo operation = new OperationInfo(this, oname); addOperation(operation); return operation; }
/** * Adds an operation to this service. * * @param oname the qualified name of the operation. * @return the operation. */ public OperationInfo addOperation(QName oname) { if (oname == null) { throw new NullPointerException( new Message("OPERATION.NAME.NOT.NULL", LOG).toString()); } if (operations.containsKey(oname)) { throw new IllegalArgumentException( new Message("DUPLICATED.OPERATION.NAME", LOG, new Object[]{oname}).toString()); } OperationInfo operation = new OperationInfo(this, oname); addOperation(operation); return operation; }
/** * Adds an operation to this service. * * @param oname the qualified name of the operation. * @return the operation. */ public OperationInfo addOperation(QName oname) { if (oname == null) { throw new NullPointerException( new Message("OPERATION.NAME.NOT.NULL", LOG).toString()); } if (operations.containsKey(oname)) { throw new IllegalArgumentException( new Message("DUPLICATED.OPERATION.NAME", LOG, new Object[]{oname}).toString()); } OperationInfo operation = new OperationInfo(this, oname); addOperation(operation); return operation; }