org.ow2.cmi.loader
Interface IPolicyStrategyLoader

All Known Subinterfaces:
IDefaultPolicyStrategyLoader

public interface IPolicyStrategyLoader

Loaders are responsible of loading classes from an archive previously shared in the JGroups cluster. This is the interface implemented by all loaders.

Author:
The new CMI team

Method Summary
 void loadArchive(java.lang.String deployDir, IArchiveWrapper archive)
          Gets load balancing policies/archives from the given archive wrapper.
 void unLoadArchive(java.lang.Object archiveId)
          Removes load balancing policies/strategies previously added from the given archive wrapper.
 

Method Detail

loadArchive

void loadArchive(java.lang.String deployDir,
                 IArchiveWrapper archive)
Gets load balancing policies/archives from the given archive wrapper.

Parameters:
archive - The archive wrapper

unLoadArchive

void unLoadArchive(java.lang.Object archiveId)
Removes load balancing policies/strategies previously added from the given archive wrapper.

Parameters:
archive - The archive wrapper


Copyright © 2009 OW2 Consortium. All Rights Reserved.