Package xk.xact.inventory.adapter

Examples of xk.xact.inventory.adapter.LinearInventory


      for( Class adapterClass : PluginManager.getInventoryAdapters().keySet() ) {
        if( adapterClass != null && adapterClass.isAssignableFrom( inventory.getClass() ) )
          return PluginManager.getInventoryAdapters().get( adapterClass ).createInventoryAdapter( inventory );
      }
      if( inventory instanceof IInventory ) {
        return new LinearInventory( (IInventory) inventory );
      }

      Utils.logException( "Invalid inventory adapter", new InvalidInventoryAdapterException( inventory.getClass() ), false );
    }
    return null;
View Full Code Here

TOP

Related Classes of xk.xact.inventory.adapter.LinearInventory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.