This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CompositeMethodInvocationTest extends AbstractPolygeneTest { | |
@Service | |
MyService srv; | |
/** | |
* To correct, change instance pool type in CompositeMethodModel | |
* AtomicInstancePool -> SynchronizedCompositeMethodInstancePool | |
*/ | |
@Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.apache.polygene.runtime.unitofwork; | |
import org.apache.polygene.api.association.Association; | |
import org.apache.polygene.api.common.Optional; | |
import org.apache.polygene.api.entity.EntityBuilder; | |
import org.apache.polygene.api.identity.HasIdentity; | |
import org.apache.polygene.api.property.Property; | |
import org.apache.polygene.api.unitofwork.UnitOfWork; | |
import org.apache.polygene.bootstrap.AssemblyException; | |
import org.apache.polygene.bootstrap.ModuleAssembly; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ForumClient | |
{ | |
private ContextResourceClient crc; | |
private final Module module; | |
private String username = "rickard"; | |
private String password = "secret"; | |
public ForumClient() throws AssemblyException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: samples/dci-cargo/dcisample_a/src/main/java/com/marcgrue/dcisample_a/infrastructure/conversion/EntityToDTOService.java | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- samples/dci-cargo/dcisample_a/src/main/java/com/marcgrue/dcisample_a/infrastructure/conversion/EntityToDTOService.java (revision 63141ff27bf64d0acd5b2bbd7dca7f0e17baaf33) | |
+++ samples/dci-cargo/dcisample_a/src/main/java/com/marcgrue/dcisample_a/infrastructure/conversion/EntityToDTOService.java (revision ) | |
@@ -1,33 +1,30 @@ | |
package com.marcgrue.dcisample_a.infrastructure.conversion; | |