This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit b08e6da733c65e21426fb135969e72bb67d83554
Author: danhaywood <d...@haywood-associates.co.uk>
AuthorDate: Tue Dec 3 12:30:32 2019 +0000

    makes SimpleObjects#ping programmatic
---
 .../java/domainapp/modules/simple/dom/impl/SimpleObjects.java    | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git 
a/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObjects.java
 
b/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObjects.java
index 1db1890..a2696ff 100644
--- 
a/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObjects.java
+++ 
b/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObjects.java
@@ -5,13 +5,7 @@ import java.util.List;
 import javax.inject.Inject;
 import javax.jdo.JDOQLTypedQuery;
 
-import org.apache.isis.applib.annotation.Action;
-import org.apache.isis.applib.annotation.ActionLayout;
-import org.apache.isis.applib.annotation.BookmarkPolicy;
-import org.apache.isis.applib.annotation.DomainService;
-import org.apache.isis.applib.annotation.NatureOfService;
-import org.apache.isis.applib.annotation.PromptStyle;
-import org.apache.isis.applib.annotation.SemanticsOf;
+import org.apache.isis.applib.annotation.*;
 import org.apache.isis.applib.events.domain.ActionDomainEvent;
 import org.apache.isis.applib.services.repository.RepositoryService;
 import org.apache.isis.jdo.jdosupport.IsisJdoSupport_v3_2;
@@ -64,6 +58,7 @@ public class SimpleObjects {
         return repositoryService.allInstances(SimpleObject.class);
     }
 
+    @Programmatic
     public void ping() {
         JDOQLTypedQuery<SimpleObject> q = 
isisJdoSupport.newTypesafeQuery(SimpleObject.class);
         final QSimpleObject candidate = QSimpleObject.candidate();

Reply via email to