consciouscode.seedling
Interface EventfulBranch

All Superinterfaces:
BranchNode, LocatableNode, ServiceNode
All Known Subinterfaces:
RootNode
All Known Implementing Classes:
GenericBranch, ScopeManager, ScopeRoot, StandardBranch, StandardRoot

public interface EventfulBranch
extends BranchNode

A branch that fires BranchChangeEvents when child nodes are installed or removed.


Method Summary
 void addBranchChangeListener(BranchChangeListener listener)
          Registers the specified listener to receive branch change events for this branch.
 
Methods inherited from interface consciouscode.seedling.BranchNode
availableChild, availableChildNames, getChild, getInstalledNode, getLocalRoot, getLog, getNode, installedChild, installedChildNames
 
Methods inherited from interface consciouscode.seedling.LocatableNode
getNodeLocation, nodeInstalled
 
Methods inherited from interface consciouscode.seedling.ServiceNode
startService, stopService
 

Method Detail

addBranchChangeListener

void addBranchChangeListener(BranchChangeListener listener)
Registers the specified listener to receive branch change events for this branch.

Parameters:
listener - the BranchChangeListener to add.
Throws:
NullPointerException - if listener is null.


Copyright © 2001–2012 Todd V. Jonker. All Rights Reserved.