|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robotframework.javalib.factory.ApplicationContextKeywordFactory
public class ApplicationContextKeywordFactory
Keyword factory that wraps an ApplicationContext. To be used
with KeywordApplicationContext, otherwise keyword names will
not be normalized.
KeywordApplicationContext| Constructor Summary | |
|---|---|
ApplicationContextKeywordFactory(org.springframework.context.ApplicationContext ctx)
|
|
| Method Summary | |
|---|---|
Keyword |
createKeyword(java.lang.String keywordName)
Creates an instance of the class implementing the given keyword name |
java.lang.ClassLoader |
getClassLoader()
Returns the underlying ApplicationContext's class loader. |
java.lang.String[] |
getKeywordNames()
Returns all the names of the keywords that this factory can create |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationContextKeywordFactory(org.springframework.context.ApplicationContext ctx)
ctx - ApplicationContext to use. Preferably a
KeywordApplicationContext.| Method Detail |
|---|
public Keyword createKeyword(java.lang.String keywordName)
KeywordFactory
createKeyword in interface KeywordFactory<Keyword>keywordName - keyword name (will be normalized, so pretty much
any formatting will do)
KeywordFactory.createKeyword(String)public java.lang.String[] getKeywordNames()
KeywordFactory
getKeywordNames in interface KeywordFactory<Keyword>KeywordFactory.getKeywordNames()public java.lang.ClassLoader getClassLoader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||