Additional annotation for CDI inject
parent
ca87bcb6af
commit
be6abc17cb
|
|
@ -28,6 +28,7 @@ import java.util.Optional;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.annotation.PostConstruct;
|
import javax.annotation.PostConstruct;
|
||||||
|
import javax.enterprise.inject.Any;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -42,6 +43,7 @@ public abstract class AbstractAssetImExporter<T extends Asset>
|
||||||
private AssetRepository assetRepo;
|
private AssetRepository assetRepo;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
|
@Any
|
||||||
private ItemAttachmentImExporter itemAttachmentImExporter;
|
private ItemAttachmentImExporter itemAttachmentImExporter;
|
||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue