wise/wise-javadoc.patch
2015-08-16 20:57:59 +01:00

861 lines
35 KiB
Diff

--- src/core/src/main/java/org/jboss/wise/tree/Element.java.orig 2013-07-05 16:49:56.000000000 +0100
+++ src/core/src/main/java/org/jboss/wise/tree/Element.java 2015-08-16 18:47:48.062419131 +0100
@@ -71,6 +71,7 @@
/**
* Every WiseTreeElement must be cloneable; this is required to handle
* element's add and removal into/from arrays and collections.
+ * @return Something that's of type element
*/
public Element clone();
--- src/core/src/main/java/org/jboss/wise/core/client/impl/wsdlResolver/Connection.java.orig 2015-08-16 19:17:35.071143090 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/wsdlResolver/Connection.java 2015-08-16 19:18:16.105618837 +0100
@@ -56,9 +56,9 @@
/**
* Open an inputStream from the given URL.
*
- * @param url
+ * @param url The URL
* @return the inputStream of this url
- * @throws IOException
+ * @throws IOException An IOException
*
*/
public InputStream open(URL url) throws IOException {
--- src/core/src/main/java/org/jboss/wise/core/client/impl/wsdlResolver/JBossEntityResolver.java.orig 2013-07-05 16:50:14.000000000 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/wsdlResolver/JBossEntityResolver.java 2015-08-16 19:21:40.415981306 +0100
@@ -44,7 +44,7 @@
*
* Local entity resolver to handle standard J2EE DTDs and Schemas as well as
* JBoss specific DTDs.
- * <p/>
+ *
* Function boolean isEntityResolved() is here to avoid validation errors in
* descriptors that do not have a DOCTYPE declaration.
*
@@ -207,7 +207,7 @@
/**
* Obtain a read-only view of the current entity map.
*
- * @return Map<String, String> of the publicID/systemID to dtd/schema file
+ * @return Map of the publicID/systemID to dtd/schema file
* name
*/
public static Map getEntityMap() {
@@ -347,7 +347,7 @@
* Returns the boolean value to inform id DTD was found in the XML file or
* not
*
- * @todo this is not thread safe and should be removed?
+ * TODO: this is not thread safe and should be removed?
*
* @return boolean - true if DTD was found in XML
*/
--- src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/EndpointMethodCaller.java.orig 2015-08-16 19:26:09.627078679 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/EndpointMethodCaller.java 2015-08-16 19:27:03.175694775 +0100
@@ -45,9 +45,9 @@
private final Object[] args;
/**
- * @param epInstance
- * @param methodPointer
- * @param args
+ * @param epInstance A WSEndpoint
+ * @param methodPointer A Method
+ * @param args An Object array
*/
public EndpointMethodCaller( WSEndpoint epInstance,
Method methodPointer,
--- src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/InvocationResultImpl.java.orig 2015-08-16 19:29:50.172616135 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/InvocationResultImpl.java 2015-08-16 19:30:44.617242540 +0100
@@ -46,9 +46,10 @@
private final Map<String, Object> originalObjects;
/**
- * @param name
- * @param value
- * @param results
+ * @param name String
+ * @param resultType Type
+ * @param value Object
+ * @param results Map
*/
public InvocationResultImpl(String name, Type resultType, Object value, Map<String, Object> results) {
--- src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WebParameterImpl.java.orig 2015-08-16 19:31:46.277951971 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WebParameterImpl.java 2015-08-16 19:32:19.552334803 +0100
@@ -46,10 +46,10 @@
private final Enum<WebParam.Mode> mode;
/**
- * @param type
- * @param name
- * @param position
- * @param mode
+ * @param type Type
+ * @param name String
+ * @param position int
+ * @param mode EnumMode
*/
public WebParameterImpl( Type type,
String name,
--- src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSDynamicClientImpl.java.orig 2015-08-16 19:34:17.049686655 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSDynamicClientImpl.java 2015-08-16 19:35:00.601187729 +0100
@@ -57,11 +57,10 @@
import org.milyn.Smooks;
/**
- * This is the Wise core, i.e. the JAX-WS client that handles wsdl retrieval &
+ * This is the Wise core, i.e. the JAX-WS client that handles wsdl retrieval
* parsing, invocations, etc.
*
* @author Stefano Maestri, stefano.maestri@javalinux.it
- * @since
*/
@ThreadSafe
public class WSDynamicClientImpl implements WSDynamicClient {
--- src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSEndpointImpl.java.orig 2015-08-16 19:35:56.767833949 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSEndpointImpl.java 2015-08-16 19:36:47.697419912 +0100
@@ -127,7 +127,7 @@
/**
* Set username used for Basic HTTP auth in calling ws
*
- * @param username
+ * @param username String
*/
public synchronized void setUsername(String username) {
this.userName = username;
@@ -141,7 +141,7 @@
/**
* Set password used for Basic HTTP auth in calling ws
*
- * @param password
+ * @param password String
*/
public synchronized void setPassword(String password) {
this.password = password;
@@ -160,7 +160,7 @@
* method called
*
* @see #getWSMethods()
- * @param handler
+ * @param handler Handler
*/
public void addHandler(Handler<?> handler) {
handlers.add(handler);
--- src/core/src/main/java/org/jboss/wise/core/client/WSEndpoint.java.orig 2015-08-16 19:37:33.303944632 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/WSEndpoint.java 2015-08-16 19:38:16.673438308 +0100
@@ -49,7 +49,7 @@
/**
* Set username for endpoint authentication
*
- * @param username
+ * @param username String
*/
@GuardedBy("this")
public void setUsername(String username);
@@ -57,7 +57,7 @@
/**
* Set password for endpoint authentication
*
- * @param password
+ * @param password String
*/
@GuardedBy("this")
public void setPassword(String password);
@@ -77,7 +77,7 @@
* method called
*
* @see #getWSMethods()
- * @param handler
+ * @param handler Handler
*/
@GuardedBy("this")
public void addHandler(Handler<?> handler);
@@ -140,7 +140,7 @@
* it give the opportunity to change target url of the endpoint defined in
* the wsdl
*
- * @param targetUrl
+ * @param targetUrl String
*/
@GuardedBy("this")
public void setTargetUrl(String targetUrl);
--- src/core/src/main/java/org/jboss/wise/core/client/impl/wsdlResolver/WiseEntityResolver.java.orig 2015-08-16 19:23:41.308372218 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/wsdlResolver/WiseEntityResolver.java 2015-08-16 19:40:21.041847385 +0100
@@ -67,8 +67,8 @@
* Use a ResourceURL to access the resource. This method should be protected
* in the super class.
*
- * @param id
- * @param trace
+ * @param id String
+ * @param trace Trace
* @return an InputSource
*/
protected InputSource resolveSystemIDAsURL(String id, boolean trace) {
--- src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSMethodImpl.java.orig 2015-08-16 19:42:02.717999363 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSMethodImpl.java 2015-08-16 19:42:43.030456098 +0100
@@ -124,16 +124,16 @@
/**
* Invokes this method with the provided arguments applying provided mapper
*
- * @param args
+ * @param args Object
* @param mapper
* if null no mappings are applied method will be invoked using
* args directly. in this case the keys of the map gotta be the
* parameters names as defined in wsdl/wsconsume generated
* classes
* @return {@link InvocationResultImpl}
- * @throws InvocationException
- * @throws IllegalArgumentException
- * @throws MappingException
+ * @throws InvocationException Exception
+ * @throws IllegalArgumentException Exception
+ * @throws MappingException Exception
*/
@SuppressWarnings("unchecked")
public InvocationResultImpl invoke(Object args, WiseMapper mapper) throws InvocationException, IllegalArgumentException, MappingException {
--- src/core/src/main/java/org/jboss/wise/core/client/WSMethod.java.orig 2015-08-16 19:43:26.298946323 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/WSMethod.java 2015-08-16 19:45:56.910652734 +0100
@@ -57,9 +57,9 @@
* @return return an {@link InvocationResult} object populated with returned
* values (implementation will process both directed returned values
* and OUT parameters as defined in wsdl)
- * @throws InvocationException
- * @throws IllegalArgumentException
- * @throws MappingException
+ * @throws InvocationException Exception
+ * @throws IllegalArgumentException Exception
+ * @throws MappingException Exception
*/
public InvocationResult invoke(Object args, WiseMapper mapper) throws InvocationException, IllegalArgumentException, MappingException;
@@ -67,23 +67,23 @@
* Invokes this method with the provided arguments
*
* @param args
- * the arguments to call operation. args must be a Map<String,
- * Object>. This Map have to contain entries for all needed
+ * the arguments to call operation. args must be a Map.
+ * This Map have to contain entries for all needed
* parameters, keys have to reflect operation parameter name as
* defined in wsdl. Keys which names are not defined in wsdls
* will be simply ignored. Implementation will take care values
* nullability will reflect "nillable" properties defined in
* wsdl. order isn't important since WSMethod implementation will
* take care of reorder parameters in right position to make
- * operation call. If it isn't a Map<String, Object> or keys
+ * operation call. If it isn't a Map or keys
* don't contain all parameters name an
* {@link IllegalArgumentException} is thrown.
* @return return an {@link InvocationResult} object populated with returned
* values (implementation will process both directed returned values
* and OUT parameters as defined in wsdl)
- * @throws InvocationException
- * @throws IllegalArgumentException
- * @throws MappingException
+ * @throws InvocationException Exception
+ * @throws IllegalArgumentException Exception
+ * @throws MappingException Exception
*/
public InvocationResult invoke(Object args) throws InvocationException, IllegalArgumentException, MappingException;
@@ -91,9 +91,9 @@
* Generates and writes a preview of the request message for invoking this
* method with the provided arguments.
*
- * @param args
- * @param os
- * @throws InvocationException
+ * @param args Map
+ * @param os OutputStream
+ * @throws InvocationException Exception
*/
public void writeRequestPreview(Map<String, Object> args, OutputStream os) throws InvocationException;
@@ -101,7 +101,7 @@
* Gets the map of {@link WebParameter} for the webserice method represented
* by instance of this type
*
- * @return a Map<String, Object> representing valid webparameters where keys
+ * @return a Map representing valid webparameters where keys
* contain symbolic names as defined by wsdl. It may be null in case
* of selected operation haven't parameter.
*/
--- src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSServiceImpl.java.orig 2015-08-16 19:47:01.049379417 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/impl/reflection/WSServiceImpl.java 2015-08-16 19:49:23.174989681 +0100
@@ -52,11 +52,12 @@
protected final int maxThreadPoolSize;
/**
- * @param serviceClass
- * @param classLoader
- * @param service
- * @param userName
- * @param password
+ * @param serviceClass Class
+ * @param classLoader URLClassLoader
+ * @param service Object
+ * @param userName String
+ * @param password String
+ * @param excludedPorts Set
* @param maxThreadPoolSize the max pool size for method execution of service attached endpoint.
*/
public WSServiceImpl( Class<?> serviceClass,
@@ -160,9 +161,9 @@
private final Method buildMethod;
/**
- * @param serviceClass
- * @param serviceObject
- * @param buildMethod
+ * @param serviceClass Class
+ * @param serviceObject Object
+ * @param buildMethod Method
*/
public WSEndPointbuilder( Class<?> serviceClass,
Object serviceObject,
--- src/core/src/main/java/org/jboss/wise/core/client/builder/WSDynamicClientBuilder.java.orig 2015-08-16 19:50:15.601583666 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/builder/WSDynamicClientBuilder.java 2015-08-16 19:53:43.792942446 +0100
@@ -45,16 +45,16 @@
* Build the {@link WSDynamicClient} with all parameters set on this class
*
* @return {@link WSDynamicClient}
- * @throws IllegalStateException
- * @throws ConnectException
- * @throws WiseRuntimeException
+ * @throws IllegalStateException Exception
+ * @throws ConnectException Exception
+ * @throws WiseRuntimeException Exception
*/
public WSDynamicClient build() throws IllegalStateException, ConnectException, WiseRuntimeException;
/**
* Set the wsdlURL to generate WS client
*
- * @param wsdlURL
+ * @param wsdlURL String
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder wsdlURL(String wsdlURL);
@@ -63,7 +63,7 @@
* set the userName used in Basic Auth both for downloading wsdl and calling
* service
*
- * @param userName
+ * @param userName String
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder userName(String userName);
@@ -72,7 +72,7 @@
* set the password used in Basic Auth both for downloading wsdl and calling
* service
*
- * @param password
+ * @param password String
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder password(String password);
@@ -83,7 +83,7 @@
* {@link WSDynamicClient} and take care of all cleanup when
* WSDynamicClient.close() is called
*
- * @param tmpDir
+ * @param tmpDir String
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder tmpDir(String tmpDir);
@@ -92,7 +92,7 @@
* force the package name used for generated client classes. If it is't set
* wsconsume rules will e used: namespaces and/or bindingfiles
*
- * @param targetPackage
+ * @param targetPackage String
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder targetPackage(String targetPackage);
@@ -100,7 +100,7 @@
/**
* set the list of JAXB bindings files used by wsconsume
*
- * @param bindings
+ * @param bindings List of Files
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder bindingFiles(List<File> bindings);
@@ -108,7 +108,7 @@
/**
* set the catelog file
*
- * @param catelog
+ * @param catelog File
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder catalogFile(File catelog);
@@ -118,7 +118,7 @@
* information about this file refer to our samples and/or to JBossWS
* documentation
*
- * @param url
+ * @param url String
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder securityConfigUrl(String url);
@@ -128,7 +128,7 @@
* information about this file refer to our samples and/or to JBossWS
* documentation
*
- * @param name
+ * @param name String
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder securityConfigName(String name);
@@ -137,7 +137,7 @@
* if it it set to true source code generated for client classes will be
* kept in {@link #tmpDir(String)}
*
- * @param bool
+ * @param bool boolean
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder keepSource(boolean bool);
@@ -147,7 +147,7 @@
* will be verbose and its messages will be put on
* {@link #messageStream(PrintStream)}
*
- * @param bool
+ * @param bool boolean
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder verbose(boolean bool);
@@ -155,7 +155,7 @@
/**
* if it set to true non-SOAP wsdl ports will be excluded
*
- * @param bool
+ * @param exclude boolean
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder excludeNonSOAPPorts(boolean exclude);
@@ -164,7 +164,7 @@
* Sets the PrintStream to use for status feedback. The simplest example
* would be to use System.out.
*
- * @param messageStream
+ * @param messageStream PrintStream
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder messageStream(PrintStream messageStream);
@@ -174,7 +174,7 @@
* {@link WSMethod} on the build {@link WSDynamicClient}. default value is
* 100.
*
- * @param maxThreadPoolSize
+ * @param maxThreadPoolSize int
* @return {@link WSDynamicClient}
*/
public WSDynamicClientBuilder maxThreadPoolSize(int maxThreadPoolSize);
--- src/core/src/main/java/org/jboss/wise/core/client/InvocationResult.java.orig 2015-08-16 19:27:39.775115865 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/InvocationResult.java 2015-08-16 20:01:30.717337226 +0100
@@ -28,9 +28,9 @@
/**
* Holds the webservice's (JAXWS or JAXRS) invocation result's data. Normally
- * this data are kept in Map<String, Object> for JAXWS and a Stream or String
+ * this data are kept in Map for JAXWS and a Stream or String
* for JAXR, but implementor are free to change internal data structure. Anyway
- * it return a Map<String, Object> with webservice's call results, eventually
+ * it return a Map with webservice's call results, eventually
* applying a mapping to custom object using a WiseMapper passed to
* {@link #getMapRequestAndResult(WiseMapper, Map)} methods
*
@@ -62,7 +62,7 @@
* output. It's useful when they are needed by wise's client in
* same classLoader used by smooks (i.e when wise is used to
* enrich set of objects like in ESB action pipeline)
- * @return a Map<String, Object> containing the result of ws calls
+ * @return a Map containing the result of ws calls
* eventually mapped using WiseMapper provided
* @throws MappingException
* rethrown exception got from provided {@link WiseMapper}
@@ -82,7 +82,7 @@
* a WiseMapper used to map JAX-WS generated object returned by
* method call to arbitrary custom object model. It could be null
* to don't apply any kind of mappings
- * @return a Map<String, Object> containing the result of ws calls
+ * @return a Map containing the result of ws calls
* eventually mapped using WiseMapper provided
* @throws MappingException
* rethrown exception got from provided {@link WiseMapper}
@@ -94,7 +94,7 @@
* return value and OUT Holders parameters are considered ; For JAXRS a Map
* contains 2 key/valuepair with keys "ContentType" and "JAXRSStream"
*
- * @return a Map<String, Object> containing the result of ws calls
+ * @return a Map containing the result of ws calls
* eventually mapped using WiseMapper provided
*/
public Map<String, Object> getResult();
--- src/core/src/main/java/org/jboss/wise/core/client/SpiLoader.java.orig 2015-08-16 20:02:45.154200742 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/SpiLoader.java 2015-08-16 20:03:36.366794842 +0100
@@ -52,8 +52,8 @@
*
* 3. Finally, a default implementation class name is used.
*
- * @param propertyName
- * @param defaultFactory
+ * @param propertyName String
+ * @param defaultFactory String
* @return the instance
*/
public static Object loadService(String propertyName, String defaultFactory) {
@@ -73,7 +73,7 @@
* Use the Services API (as detailed in the JAR specification), if
* available, to determine the classname.
*
- * @param propertyName
+ * @param propertyName String
* @return the instance
*/
public static Object loadFromServices(String propertyName) {
@@ -105,7 +105,7 @@
/**
* Use the system property
*
- * @param propertyName
+ * @param propertyName String
* @return the instance
*/
public static Object loadFromSystemProperty(String propertyName) {
--- src/core/src/main/java/org/jboss/wise/core/client/WSDynamicClient.java.orig 2015-08-16 19:33:01.253814596 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/WSDynamicClient.java 2015-08-16 20:05:20.113998378 +0100
@@ -32,7 +32,7 @@
/**
* This is the Wise core class responsible to invoke the JAX-WS tools that
- * handles wsdl retrieval & parsing. It is used to build the list of WSService
+ * handles wsdl retrieval parsing. It is used to build the list of WSService
* representing the services available in parsed wsdl.
*
* @author Stefano Maestri, stefano.maestri@javalinux.it
@@ -67,9 +67,9 @@
* "one line of code invocation" (see "Wise-core Programmers guide" for more
* information)
*
- * @param serviceName
- * @param portName
- * @param operationName
+ * @param serviceName String
+ * @param portName String
+ * @param operationName String
* @throws ResourceNotAvailableException
* when the specified service, port or operation can not be
* found
--- src/core/src/main/java/org/jboss/wise/core/client/builder/RSDynamicClientBuilder.java.orig 2015-08-16 20:06:12.035600703 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/builder/RSDynamicClientBuilder.java 2015-08-16 20:07:13.122309350 +0100
@@ -42,9 +42,8 @@
* Build the {@link WSDynamicClient} with all parameters set on this class
*
* @return {@link WSDynamicClient}
- * @throws IllegalStateException
- * @throws ConnectException
- * @throws WiseRuntimeException
+ * @throws IllegalStateException Exception
+ * @throws WiseRuntimeException Exception
*/
public RSDynamicClient build() throws IllegalStateException, WiseRuntimeException;
--- src/core/src/main/java/org/jboss/wise/core/client/factories/WSDynamicClientFactory.java.orig 2015-08-16 20:07:50.743745782 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/factories/WSDynamicClientFactory.java 2015-08-16 20:09:52.824161995 +0100
@@ -77,12 +77,12 @@
* Return an instance of RSDynamicClient taken from cache if possible,
* generate and initialise if not.
*
- * @param endpointURL
- * @param produceMediaTypes
- * @param consumeMediaTypes
- * @param httpMethod
- * @param userName
- * @param password
+ * @param endpointURL String
+ * @param produceMediaTypes String
+ * @param consumeMediaTypes String
+ * @param httpMethod HttpMethod
+ * @param userName String
+ * @param password String
* @return an instance of {@link RSDynamicClient} already initialized, ready
* to be called
*/
@@ -100,10 +100,10 @@
* Return an instance of RSDynamicClient taken from cache if possible,
* generate and initialise if not.
*
- * @param endpointURL
- * @param produceMediaTypes
- * @param consumeMediaTypes
- * @param httpMethod
+ * @param endpointURL String
+ * @param produceMediaTypes String
+ * @param consumeMediaTypes String
+ * @param httpMethod HttpMethod
* @return an instance of {@link RSDynamicClient} already initialized, ready
* to be called
*/
--- src/core/src/main/java/org/jboss/wise/core/client/jaxrs/RSDynamicClient.java.orig 2015-08-16 20:10:52.281851743 +0100
+++ src/core/src/main/java/org/jboss/wise/core/client/jaxrs/RSDynamicClient.java 2015-08-16 20:11:25.119232678 +0100
@@ -87,7 +87,7 @@
/**
* Invoke JAXRS service.
*
- * @param request
+ * @param request InputStream
* @param mapper {@link WiseMapper} used to map inputObject to stream representation used to call the service
* @return {@link InvocationResult} implementation representing the result of JAXRS service
*/
@@ -97,7 +97,7 @@
/**
* Invoke JAXRS service.
*
- * @param request
+ * @param request String
* @param mapper {@link WiseMapper} used to map inputObject to stream representation used to call the service
* @return {@link InvocationResult} implementation representing the result of JAXRS service
*/
@@ -107,7 +107,7 @@
/**
* Invoke JAXRS service.
*
- * @param request
+ * @param request byte array
* @param mapper {@link WiseMapper} used to map inputObject to stream representation used to call the service
* @return {@link InvocationResult} implementation representing the result of JAXRS service
*/
--- src/core/src/main/java/org/jboss/wise/core/utils/IOUtils.java.orig 2015-08-16 20:12:42.670129431 +0100
+++ src/core/src/main/java/org/jboss/wise/core/utils/IOUtils.java 2015-08-16 20:13:12.426471724 +0100
@@ -37,9 +37,9 @@
/**
* True if the given type name is the source notation of a primitive or array of which.
*
- * @param outs
- * @param ins
- * @throws WiseRuntimeException
+ * @param outs OutputStream
+ * @param ins InputStream
+ * @throws WiseRuntimeException Exception
*/
public static void copyStreamAndClose( OutputStream outs,
InputStream ins ) throws WiseRuntimeException {
--- src/core/src/main/java/org/jboss/wise/core/utils/JavaUtils.java.orig 2015-08-16 20:13:41.808809712 +0100
+++ src/core/src/main/java/org/jboss/wise/core/utils/JavaUtils.java 2015-08-16 20:14:27.189331731 +0100
@@ -47,10 +47,10 @@
/**
* Load a Java type from a given class loader.
*
- * @param typeName
- * @param classLoader
+ * @param typeName String
+ * @param classLoader ClassLoader
* @return Class
- * @throws ClassNotFoundException
+ * @throws ClassNotFoundException Exception
*/
public static Class<?> loadJavaType(String typeName, ClassLoader classLoader) throws ClassNotFoundException {
if (classLoader == null)
@@ -152,7 +152,7 @@
* Get the corresponding wrapper type for a give primitive. Also handles
* arrays of which.
*
- * @param javaType
+ * @param javaType Class
* @return Class
*/
public static Class<?> getWrapperType(Class<?> javaType) {
--- src/core/src/main/java/org/jboss/wise/core/utils/ReflectionUtils.java.orig 2015-08-16 20:15:01.321724360 +0100
+++ src/core/src/main/java/org/jboss/wise/core/utils/ReflectionUtils.java 2015-08-16 20:15:48.690269250 +0100
@@ -56,8 +56,8 @@
/**
* Get setter method name of given fieldName
*
- * @param fieldName
- * @param isBoolean
+ * @param fieldName String
+ * @param isBoolean boolean
* @return String
*/
public static String setterMethodName( String fieldName,
@@ -72,8 +72,8 @@
/**
* Get getter method name of given fieldName
*
- * @param fieldName
- * @param isBoolean
+ * @param fieldName String
+ * @param isBoolean boolean
* @return String
*/
public static String getterMethodName( String fieldName,
@@ -88,7 +88,7 @@
/**
* Get getter method name of given field
*
- * @param field
+ * @param field Field
* @return String
*/
public static String getGetter( Field field ) {
--- src/core/src/main/java/org/jboss/wise/core/mapper/SmooksMapper.java.orig 2015-08-16 20:16:36.622820626 +0100
+++ src/core/src/main/java/org/jboss/wise/core/mapper/SmooksMapper.java 2015-08-16 20:17:07.101171223 +0100
@@ -130,12 +130,12 @@
/**
* apply this mapping to original object
*
- * @param originalObjects
+ * @param originalObjects Object
* @return Map returned is typically used to invoke webservice operations.
* To do this, beanids defined in smooks config (and used here as
* Map's keys) have to be the parameters names as defined in
* wsdl/wsconsume generated classes
- * @throws MappingException
+ * @throws MappingException Exception
*/
@SuppressWarnings("unchecked")
public Map<String, Object> applyMapping(Object originalObjects) throws MappingException {
--- src/core/src/main/java/org/jboss/wise/core/mapper/WiseMapper.java.orig 2015-08-16 20:17:35.974503357 +0100
+++ src/core/src/main/java/org/jboss/wise/core/mapper/WiseMapper.java 2015-08-16 20:18:08.076872636 +0100
@@ -36,10 +36,10 @@
/**
* apply this mapping to original object
*
- * @param originalObjects
- * @return the mapped object in a Map<String,Object>. Keys of this map normally represent symbolic name of mapped Object. For
+ * @param originalObjects Object
+ * @return the mapped object in a Map. Keys of this map normally represent symbolic name of mapped Object. For
* JAXRS conventional key used for standard key/value pairs are "ContentType" and "JAXRSStream"
- * @throws MappingException
+ * @throws MappingException Exception
*/
public Map<String, Object> applyMapping( Object originalObjects ) throws MappingException;
--- src/core/src/main/java/org/jboss/wise/core/wsextensions/WSExtensionEnabler.java.orig 2015-08-16 20:18:45.654304895 +0100
+++ src/core/src/main/java/org/jboss/wise/core/wsextensions/WSExtensionEnabler.java 2015-08-16 20:19:02.173494917 +0100
@@ -40,7 +40,7 @@
* This is the call back method invoked by {@link WSEndpoint} to ask this extension to enable itself. Implementer should
* delegate the effective job to {@link EnablerDelegate} implementation for the right JAX-WS stack in use.
*
- * @param endpointInstance
+ * @param endpointInstance Object
*/
public abstract void enable( Object endpointInstance );
--- src/core/src/main/java/org/jboss/wise/core/wsextensions/EnablerDelegate.java.orig 2015-08-16 20:19:43.298967990 +0100
+++ src/core/src/main/java/org/jboss/wise/core/wsextensions/EnablerDelegate.java 2015-08-16 20:21:25.577144512 +0100
@@ -43,43 +43,43 @@
/**
* Sets the configFile to be used, if any
*
- * @param configFile
+ * @param configFile String
*/
public void setConfigFile(String configFile);
/**
* Sets the configName to be used, if any
*
- * @param configName
+ * @param configName String
*/
public void setConfigName(String configName);
/**
*
- * @param endpointInstance
- * @throws UnsupportedOperationException
- * @throws IllegalStateException
+ * @param endpointInstance Object
+ * @throws UnsupportedOperationException Exception
+ * @throws IllegalStateException Exception
*/
public void visitWSSecurity(Object endpointInstance) throws UnsupportedOperationException, IllegalStateException;
/**
*
- * @param endpointInstance
- * @throws UnsupportedOperationException
+ * @param endpointInstance Object
+ * @throws UnsupportedOperationException Exception
*/
public void visitWSRM(Object endpointInstance) throws UnsupportedOperationException;
/**
*
- * @param endpointInstance
- * @throws UnsupportedOperationException
+ * @param endpointInstance Object
+ * @throws UnsupportedOperationException Exception
*/
public void visitWSAddressing(Object endpointInstance) throws UnsupportedOperationException;
/**
*
- * @param endpointInstance
- * @throws UnsupportedOperationException
+ * @param endpointInstance Object
+ * @throws UnsupportedOperationException Exception
*/
public void visitMTOM(Object endpointInstance) throws UnsupportedOperationException;
}
--- src/core/src/main/java/org/jboss/wise/core/handlers/SmooksHandler.java.orig 2015-08-16 20:22:03.163576874 +0100
+++ src/core/src/main/java/org/jboss/wise/core/handlers/SmooksHandler.java 2015-08-16 20:22:44.312050211 +0100
@@ -94,8 +94,8 @@
* URI of smooks config file
* @param beans
* used for smooks BeanAccessor
- * @param client
- * @param smooksReport
+ * @param client WSDynamicClient
+ * @param smooksReport String
*/
public SmooksHandler(String smooksResource, Map<String, Object> beans, WSDynamicClient client, String smooksReport) {
--- src/core/src/main/java/org/jboss/wise/smooks/decoders/DurationDecoder.java.orig 2015-08-16 20:23:25.533524389 +0100
+++ src/core/src/main/java/org/jboss/wise/smooks/decoders/DurationDecoder.java 2015-08-16 20:23:41.323706025 +0100
@@ -31,7 +31,6 @@
/**
* {@link javax.xml.datatype.Duration} data decoder.
- * <p/>
* Decodes the supplied string into a {@link javax.xml.datatype.Duration} String value is supposed to be milliseconds representing
* this Duration
*/
--- src/core/src/main/java/org/jboss/wise/smooks/decoders/JAXBElementDecoder.java.orig 2015-08-16 20:24:09.429029325 +0100
+++ src/core/src/main/java/org/jboss/wise/smooks/decoders/JAXBElementDecoder.java 2015-08-16 20:25:39.462064989 +0100
@@ -31,9 +31,8 @@
/**
* {@link javax.xml.datatype.Duration} data decoder.
- * <p/>
* Decodes the supplied string into a {@link javax.xml.bind.JAXBElement} It requires 2 parameter to build QName for JAXBElement.
- * IOW what it does under the wood is: new JAXBElement<String>(new QName(nameSpaceURI, localPart), String.class, data);
+ * IOW what it does under the wood is: new JAXBElement(new QName(nameSpaceURI, localPart), String.class, data);
*/
@DecodeType( JAXBElement.class )
public class JAXBElementDecoder implements DataDecoder {
--- src/core/src/main/java/org/jboss/wise/smooks/decoders/XMLGregorianCalendarDecoder.java.orig 2015-08-16 20:26:02.846333982 +0100
+++ src/core/src/main/java/org/jboss/wise/smooks/decoders/XMLGregorianCalendarDecoder.java 2015-08-16 20:26:38.364742556 +0100
@@ -34,14 +34,11 @@
/**
* {@link javax.xml.datatype.XMLGregorianCalendar} data decoder.
- * <p/>
* Decodes the supplied string into a {@link javax.xml.datatype.XMLGregorianCalendar} value based on the supplied "
* {@link java.text.SimpleDateFormat format}" parameter, or the default (see below).
- * <p/>
* The default date format used is "<i>yyyy-MM-dd'T'HH:mm:ss</i>" (see {@link SimpleDateFormat}). This format is based on the <a
* href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#isoformats">ISO 8601</a> standard as used by the XML Schema type "<a
* href="http://www.w3.org/TR/xmlschema-2/#dateTime">dateTime</a>".
- * <p/>
* This decoder is synchronized on its underlying {@link SimpleDateFormat} instance.
*
* @author <a href="mailto:stefano.maestri@javalinux.it">stefano.maestri@javalinux.it</a>