From e1fc80d8bb9e91aba6106b6d087fcab01c3a3a2c Mon Sep 17 00:00:00 2001 From: Lucio Lelii Date: Fri, 21 Nov 2008 10:22:14 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Registry@6868 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../registry/impl/state/ProfileResource.java | 7 +++++-- .../registry/impl/state/ProfileResourceHome.java | 6 ++++++ .../registry/impl/state/RegistryFactoryResourceHome.java | 6 ++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/org/gcube/informationsystem/registry/impl/state/ProfileResource.java b/src/org/gcube/informationsystem/registry/impl/state/ProfileResource.java index 4f4edb8..74e04b8 100644 --- a/src/org/gcube/informationsystem/registry/impl/state/ProfileResource.java +++ b/src/org/gcube/informationsystem/registry/impl/state/ProfileResource.java @@ -71,6 +71,7 @@ public class ProfileResource extends GCUBEWSResource { /** * initialize the resource * @param params Object + * @throws ResourceException if resource is missing */ @Override public void initialise(Object... params) throws ResourceException { @@ -210,6 +211,8 @@ public class ProfileResource extends GCUBEWSResource { this.gCubeResource = resource; } + + /** {@inheritDoc}*/ @Override public void remove() throws ResourceException{ super.remove(); @@ -250,8 +253,8 @@ public class ProfileResource extends GCUBEWSResource { /** * updates the resource * - * @param resource - * @throws Exception + * @param resource the resource to update + * @throws Exception if something goes wrong */ @SuppressWarnings("unchecked") public void updateResource(GCUBEResource resource) throws Exception{ diff --git a/src/org/gcube/informationsystem/registry/impl/state/ProfileResourceHome.java b/src/org/gcube/informationsystem/registry/impl/state/ProfileResourceHome.java index 0f5b863..c235bcf 100644 --- a/src/org/gcube/informationsystem/registry/impl/state/ProfileResourceHome.java +++ b/src/org/gcube/informationsystem/registry/impl/state/ProfileResourceHome.java @@ -5,8 +5,14 @@ import org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext; import org.gcube.common.core.state.GCUBEWSHome; import org.gcube.informationsystem.registry.impl.contexts.ProfileContext; +/** + * + * @author lucio + * + */ public class ProfileResourceHome extends GCUBEWSHome { + /** {@inheritDoc}*/ public GCUBEStatefulPortTypeContext getPortTypeContext() { return ProfileContext.getContext(); } diff --git a/src/org/gcube/informationsystem/registry/impl/state/RegistryFactoryResourceHome.java b/src/org/gcube/informationsystem/registry/impl/state/RegistryFactoryResourceHome.java index 700e1a3..e531c3d 100644 --- a/src/org/gcube/informationsystem/registry/impl/state/RegistryFactoryResourceHome.java +++ b/src/org/gcube/informationsystem/registry/impl/state/RegistryFactoryResourceHome.java @@ -4,8 +4,14 @@ import org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext; import org.gcube.common.core.state.GCUBEWSHome; import org.gcube.informationsystem.registry.impl.contexts.FactoryContext; +/** + * + * @author lucio + * + */ public class RegistryFactoryResourceHome extends GCUBEWSHome { + /** {@inheritDoc}*/ public GCUBEStatefulPortTypeContext getPortTypeContext() { return FactoryContext.getContext(); }