KIE Internal 6.0.1.Final

org.kie.internal.runtime.manager
Interface Disposable


public interface Disposable

Marker interface that indicates that given class is disposable - meaning shall be manually or automatically disposed on close events.


Method Summary
 void addDisposeListener(DisposeListener listener)
          Allows to register listeners to be notified whenever instance is disposed so dependent instances can take proper action on that occasion.
 void dispose()
          Actual logic that shall be executed on dispose.
 

Method Detail

dispose

void dispose()
Actual logic that shall be executed on dispose.


addDisposeListener

void addDisposeListener(DisposeListener listener)
Allows to register listeners to be notified whenever instance is disposed so dependent instances can take proper action on that occasion.

Parameters:
listener - callback listener instance

KIE Internal 6.0.1.Final

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