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
|
* 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{
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue