This commit is contained in:
Lucio Lelii 2008-11-21 10:22:14 +00:00
parent e79e669aca
commit e1fc80d8bb
3 changed files with 17 additions and 2 deletions

View File

@ -71,6 +71,7 @@ public class ProfileResource extends GCUBEWSResource {
/** /**
* initialize the resource * initialize the resource
* @param params Object * @param params Object
* @throws ResourceException if resource is missing
*/ */
@Override @Override
public void initialise(Object... params) throws ResourceException { public void initialise(Object... params) throws ResourceException {
@ -210,6 +211,8 @@ public class ProfileResource extends GCUBEWSResource {
this.gCubeResource = resource; this.gCubeResource = resource;
} }
/** {@inheritDoc}*/
@Override @Override
public void remove() throws ResourceException{ public void remove() throws ResourceException{
super.remove(); super.remove();
@ -250,8 +253,8 @@ public class ProfileResource extends GCUBEWSResource {
/** /**
* updates the resource * updates the resource
* *
* @param resource * @param resource the resource to update
* @throws Exception * @throws Exception if something goes wrong
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public void updateResource(GCUBEResource resource) throws Exception{ public void updateResource(GCUBEResource resource) throws Exception{

View File

@ -5,8 +5,14 @@ import org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext;
import org.gcube.common.core.state.GCUBEWSHome; import org.gcube.common.core.state.GCUBEWSHome;
import org.gcube.informationsystem.registry.impl.contexts.ProfileContext; import org.gcube.informationsystem.registry.impl.contexts.ProfileContext;
/**
*
* @author lucio
*
*/
public class ProfileResourceHome extends GCUBEWSHome { public class ProfileResourceHome extends GCUBEWSHome {
/** {@inheritDoc}*/
public GCUBEStatefulPortTypeContext getPortTypeContext() { public GCUBEStatefulPortTypeContext getPortTypeContext() {
return ProfileContext.getContext(); return ProfileContext.getContext();
} }

View File

@ -4,8 +4,14 @@ import org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext;
import org.gcube.common.core.state.GCUBEWSHome; import org.gcube.common.core.state.GCUBEWSHome;
import org.gcube.informationsystem.registry.impl.contexts.FactoryContext; import org.gcube.informationsystem.registry.impl.contexts.FactoryContext;
/**
*
* @author lucio
*
*/
public class RegistryFactoryResourceHome extends GCUBEWSHome { public class RegistryFactoryResourceHome extends GCUBEWSHome {
/** {@inheritDoc}*/
public GCUBEStatefulPortTypeContext getPortTypeContext() { public GCUBEStatefulPortTypeContext getPortTypeContext() {
return FactoryContext.getContext(); return FactoryContext.getContext();
} }