dev.galasa.cicsts.spi.ICicsResourceProvider Maven / Gradle / Ivy
/*
* Licensed Materials - Property of IBM
*
* (c) Copyright IBM Corp. 2021.
*/
package dev.galasa.cicsts.spi;
import javax.validation.constraints.NotNull;
import dev.galasa.cicsts.ICicsRegion;
import dev.galasa.cicsts.cicsresource.CicsResourceManagerException;
import dev.galasa.cicsts.cicsresource.ICicsResource;
/**
* Provides CICS Region related ICicsResource objects
*
*/
public interface ICicsResourceProvider {
/**
* Returns a unique instance of the ICicsResource per CICS region
*
* @param cicsRegion
* @return ICicsResource object for this CICS region, will a different instance for different regions
* @throws CicsResourceManagerException
*/
@NotNull
ICicsResource getCicsResource(ICicsRegion cicsRegion) throws CicsResourceManagerException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy