porting on gCore 060
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Registry@17060 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d95f9ce3ed
commit
8010840866
|
@ -5,7 +5,7 @@
|
|||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.USER_LIBRARY/GCORELIBS"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/DISTRO.RESOURCES"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/GCF.05x"/>
|
||||
<classpathentry kind="lib" path="/Dependencies/ISREGISTRY/org.gcube.informationsystem.registry.stubs.jar"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/GCUBE_CORE"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
v. 1.3.2 (20-10-2009)
|
||||
* porting on gCore 060
|
||||
|
||||
v. 1.3.1 (10-2009)
|
||||
* startRegistration/updateState/AddRemoveScopes operations removed from Factory Service
|
||||
* cleanup of old notification code in ProfileResource
|
||||
* cleanup of resource package
|
||||
|
||||
v. 1.3.0 (04-09-2009)
|
||||
* Porting on the new IS-IC portType
|
||||
* Some internal refactoring
|
||||
|
||||
v. 1.2.0 (27-05-2009)
|
||||
* porting on gCore0.5.0
|
||||
* new Service Map management
|
||||
|
|
|
@ -7,13 +7,7 @@
|
|||
name="configDir"
|
||||
value="@config.dir@"
|
||||
type="java.lang.String"
|
||||
override="false" />
|
||||
|
||||
<environment
|
||||
name="securityManagerClass"
|
||||
value="org.gcube.common.core.security.GCUBESimpleServiceSecurityManager"
|
||||
type="java.lang.String"
|
||||
override="false" />
|
||||
override="false" />
|
||||
|
||||
<!-- Lifetime for temporary resources, after this period temporary resources are destroyed-->
|
||||
<environment
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<Main>
|
||||
<Description>IS-Registry: validate, register and unregister GCUBE resources to/from the IS. It also publishes Topics for notifications about GCUBE resource events</Description>
|
||||
<Name>IS-Registry-service</Name>
|
||||
<Version>1.3.1</Version>
|
||||
<Version>1.3.2</Version>
|
||||
<Mandatory level="VO"/>
|
||||
<Shareable level="VO"/>
|
||||
<GHNRequirements>
|
||||
|
|
|
@ -55,6 +55,7 @@ public class ServiceContext extends GCUBEServiceContext {
|
|||
|
||||
protected GCUBEProducer<RegistryTopic, GCUBEResource> topicProducer;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
protected class NotificationResourceScheduler extends GCUBEScheduledHandler {
|
||||
|
||||
|
||||
|
@ -125,7 +126,7 @@ public class ServiceContext extends GCUBEServiceContext {
|
|||
}
|
||||
|
||||
NotificationResourceScheduler scheduler = new NotificationResourceScheduler(20, GCUBEScheduledHandler.Mode.LAZY);
|
||||
scheduler.setHandled(new GCUBEHandler(){
|
||||
scheduler.setScheduled(new GCUBEHandler(){
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.gcube.informationsystem.registry.impl.state;
|
||||
|
||||
import org.gcube.common.core.contexts.GHNContext;
|
||||
import org.gcube.common.core.informationsystem.publisher.ISPublisher;
|
||||
import org.gcube.common.core.resources.GCUBEResource;
|
||||
import org.gcube.common.core.state.GCUBEWSResource;
|
||||
import org.gcube.common.core.utils.logging.GCUBELog;
|
||||
|
@ -114,4 +116,12 @@ public class ProfileResource extends GCUBEWSResource {
|
|||
this.store();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.gcube.common.core.state.GCUBEWSResource#getPublisher()
|
||||
*/
|
||||
@Override
|
||||
protected ISPublisher getPublisher() throws Exception {
|
||||
return GHNContext.getImplementation(ISPublisher.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue