KIE Internal 6.2.0.CR2

org.kie.internal.runtime
Interface Closeable


public interface Closeable

Allows various components (e.g. work item handlers, event listeners) to be closed when owning component (ksession) is being closed/disposed. This interface marks an component that is lightweight and it's safe and wise (from performance point of view) to be frequently recreated.

See Also:
is an alternative that allows to keep single instnace te be cached and reused to avoid recreation

Method Summary
 void close()
          Closes the underlying resources
 

Method Detail

close

void close()
Closes the underlying resources


KIE Internal 6.2.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.