Annotates a field or a setter method for injection of primary Ignite filesystem to a secondary
filesystem implementation.
Here is how injection would typically happen:
public class MySecondaryFS implements IgfsSecondaryFileSystem {
...
// Inject instance of primary filesystem.
@FileSystemResource
private IgniteFileSystem igfs;
...
}
or attach the same annotations to methods:
public class MySecondaryFS implements IgfsSecondaryFileSystem {
...
private IgniteFileSystem igfs;
...
// Inject instance of primary filesystem.
@FileSystemResource
public void setIgfs(IgniteFileSystem igfs) {
this.igfs = igfs;
}
...
}