git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Registry@6868 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e79e669aca
commit
e1fc80d8bb
|
@ -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{
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue