From 8167da12cb1e60a51bcc803b4ef773b9f55f595b Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 12 Oct 2016 12:36:27 +0000 Subject: [PATCH] Changed classes signature git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@133115 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../resourceregistry/publisher/plugin/AbstractPlugin.java | 2 +- .../publisher/plugin/ResourceRegistryPublisherPlugin.java | 2 +- .../publisher/proxy/JaxRSEndpointReference.java | 5 +++-- .../publisher/proxy/ResourceRegistryPublisher.java | 3 +++ .../publisher/proxy/ResourceRegistryPublisherFactory.java | 4 +++- .../publisher/proxy/ResourceRegistryPublisherImpl.java | 3 +++ .../publisher/ResourceRegistryPublisherTest.java | 3 +-- 7 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/plugin/AbstractPlugin.java b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/plugin/AbstractPlugin.java index fd724c5..46c7d5f 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/plugin/AbstractPlugin.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/plugin/AbstractPlugin.java @@ -6,7 +6,7 @@ import org.gcube.informationsystem.resourceregistry.Constants; /** * - * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ + * @author Luca Frosini (ISTI - CNR) * * @param * @param

diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/plugin/ResourceRegistryPublisherPlugin.java b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/plugin/ResourceRegistryPublisherPlugin.java index ceb9fb5..2386564 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/plugin/ResourceRegistryPublisherPlugin.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/plugin/ResourceRegistryPublisherPlugin.java @@ -13,7 +13,7 @@ import org.gcube.informationsystem.resourceregistry.publisher.proxy.ResourceRegi import org.gcube.informationsystem.resourceregistry.publisher.proxy.ResourceRegistryPublisherImpl; /** - * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ + * @author Luca Frosini (ISTI - CNR) * */ public class ResourceRegistryPublisherPlugin extends AbstractPlugin{ diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/JaxRSEndpointReference.java b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/JaxRSEndpointReference.java index 10ffa73..e88846d 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/JaxRSEndpointReference.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/JaxRSEndpointReference.java @@ -12,15 +12,16 @@ import org.w3c.dom.Document; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; +/** + * @author Luca Frosini (ISTI - CNR) + */ class JaxRSEndpointReference { private static final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); private static final String addressLocalName = "Address"; - //private static final String keyLocalName = "ResourceKey"; String address; - //Element key; static { factory.setNamespaceAware(true); diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisher.java b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisher.java index f3957ea..7727f45 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisher.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisher.java @@ -5,6 +5,9 @@ import org.gcube.informationsystem.model.entity.Resource; import org.gcube.informationsystem.model.relation.ConsistsOf; import org.gcube.informationsystem.model.relation.IsRelatedTo; +/** + * @author Luca Frosini (ISTI - CNR) + */ public interface ResourceRegistryPublisher { public F createFacet(Class facetClass, F facet); diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisherFactory.java b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisherFactory.java index 43182c5..afb9e69 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisherFactory.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisherFactory.java @@ -5,7 +5,9 @@ import javax.xml.ws.EndpointReference; import org.gcube.common.clients.fw.builders.StatelessBuilderImpl; import org.gcube.informationsystem.resourceregistry.publisher.plugin.ResourceRegistryPublisherPlugin; - +/** + * @author Luca Frosini (ISTI - CNR) + */ public class ResourceRegistryPublisherFactory { protected static ResourceRegistryPublisher singleton; diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisherImpl.java b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisherImpl.java index 20ba705..c1325dc 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisherImpl.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/proxy/ResourceRegistryPublisherImpl.java @@ -31,6 +31,9 @@ import org.gcube.informationsystem.resourceregistry.api.rest.EntityPath; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * @author Luca Frosini (ISTI - CNR) + */ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher { private static final Logger logger = LoggerFactory diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisherTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisherTest.java index 0244039..2ea5cb7 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisherTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisherTest.java @@ -34,8 +34,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ - * + * @author Luca Frosini (ISTI - CNR) */ public class ResourceRegistryPublisherTest {