org.instrumentmiddleware.cima.extension.impl
Class ExtensionManager

java.lang.Object
  extended by org.instrumentmiddleware.cima.extension.impl.ExtensionManager
All Implemented Interfaces:
IExtensionManager

public class ExtensionManager
extends java.lang.Object
implements IExtensionManager


Field Summary
protected  java.util.ArrayList<IParcelBodyHandler> handlers
           
 
Constructor Summary
ExtensionManager()
           
 
Method Summary
 void addHandler(IParcelBodyHandler handler)
          Adds the handler in the handler list.
 IParcelBodyHandler getHandler(org.instrumentmiddleware.cima.parcel.BodyType body)
          Returns a handler for the given body type or null if no such handler is found
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handlers

protected java.util.ArrayList<IParcelBodyHandler> handlers
Constructor Detail

ExtensionManager

public ExtensionManager()
Method Detail

getHandler

public IParcelBodyHandler getHandler(org.instrumentmiddleware.cima.parcel.BodyType body)
Description copied from interface: IExtensionManager
Returns a handler for the given body type or null if no such handler is found

Specified by:
getHandler in interface IExtensionManager
Returns:
a handler for the given body type or null if no such handler is found

addHandler

public void addHandler(IParcelBodyHandler handler)
Description copied from interface: IExtensionManager
Adds the handler in the handler list.

Specified by:
addHandler in interface IExtensionManager


Copyright © 2008. All Rights Reserved.