org.robotframework.javalib.library
Class CompositeLibrary

java.lang.Object
  extended by org.robotframework.javalib.library.KeywordFactoryBasedLibrary<Keyword>
      extended by org.robotframework.javalib.library.CompositeLibrary
All Implemented Interfaces:
RobotJavaLibrary

public class CompositeLibrary
extends KeywordFactoryBasedLibrary<Keyword>

Library that combines SpringLibrary and ClassPathLibrary.

Author:
Sami Honkonen

Constructor Summary
CompositeLibrary()
           
CompositeLibrary(java.lang.String keywordPattern, java.lang.String configFilePattern)
           
 
Method Summary
protected  KeywordFactory<Keyword> createKeywordFactory()
          Creates a CompositeKeywordFactory and adds a SpringLibrary and a ClassPathLibrary.
 void setConfigFilePattern(java.lang.String pattern)
           
 void setKeywordPattern(java.lang.String pattern)
           
 
Methods inherited from class org.robotframework.javalib.library.KeywordFactoryBasedLibrary
getClassLoader, getKeywordNames, runKeyword, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeLibrary

public CompositeLibrary()

CompositeLibrary

public CompositeLibrary(java.lang.String keywordPattern,
                        java.lang.String configFilePattern)
Method Detail

createKeywordFactory

protected KeywordFactory<Keyword> createKeywordFactory()
Creates a CompositeKeywordFactory and adds a SpringLibrary and a ClassPathLibrary.

Specified by:
createKeywordFactory in class KeywordFactoryBasedLibrary<Keyword>
Returns:
keyword factory

setKeywordPattern

public void setKeywordPattern(java.lang.String pattern)
See Also:
ClassPathLibrary.setKeywordPattern(String)

setConfigFilePattern

public void setConfigFilePattern(java.lang.String pattern)
See Also:
SpringLibrary.setConfigFilePattern(String)


Copyright © 2008. All Rights Reserved.