Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.fabric3.cache.spi;
 
Specialized builder for a runtime cache. Implementations create and remove cache resources on a runtime.
 
 public interface CacheBuilder<R extends PhysicalCacheResourceDefinition> {

    
Creates cache resources on a runtime.

Parameters:
definition the cache definition
Throws:
org.fabric3.spi.container.ContainerException If unable to build the resource
    void build(R definitionthrows ContainerException;

    
Removes cache resources on a runtime.

Parameters:
definition the physical resource definition
Throws:
org.fabric3.spi.container.ContainerException If unable to remove the resource
    void remove(R definitionthrows ContainerException;
New to GrepCode? Check out our FAQ X