cascading.groovy.factory
Class BaseFactory

java.lang.Object
  extended by AbstractFactory
      extended by cascading.groovy.factory.BaseFactory
Direct Known Subclasses:
CascadeFactory, EndPointFactory, FlowFactory, GroupFactory, OperatorFactory, SchemeFactory, TapFactory, TapMapFactory

public abstract class BaseFactory
extends AbstractFactory


Constructor Summary
BaseFactory()
           
 
Method Summary
protected  Fields createFields(List fieldsList)
           
protected  int[] createIntegerArray(ArrayList groupList)
           
protected  Object findRemove(Map attributes, String... args)
           
protected  Fields getDeclaredFields(Map attributes)
           
protected  Object makeInstance(Class type, Fields declaredFields, Object... arguments)
           
protected  Class makePrimitive(Class type)
           
protected  void rename(Map attributes, Class type, String... args)
           
protected  void rename(Map attributes, String... args)
          First is the to rename, remaining are aliases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFactory

public BaseFactory()
Method Detail

getDeclaredFields

protected Fields getDeclaredFields(Map attributes)

createFields

protected Fields createFields(List fieldsList)

createIntegerArray

protected int[] createIntegerArray(ArrayList groupList)

makeInstance

protected Object makeInstance(Class type,
                              Fields declaredFields,
                              Object... arguments)

findRemove

protected Object findRemove(Map attributes,
                            String... args)

rename

protected void rename(Map attributes,
                      Class type,
                      String... args)

rename

protected void rename(Map attributes,
                      String... args)
First is the to rename, remaining are aliases.

Parameters:
attributes -
args -

makePrimitive

protected Class makePrimitive(Class type)


Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.