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
* @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{

View File

@ -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();
}

View File

@ -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();
}