org.sonatype.gossip.model
Class ComponentFactory
java.lang.Object
org.sonatype.gossip.model.ComponentFactory
public class ComponentFactory
- extends Object
Constructs components from model nodes.
- Since:
- 1.0
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentFactory
public ComponentFactory()
create
public static Source create(SourceNode node)
throws Exception
- Throws:
Exception
create
public static Trigger create(TriggerNode node)
throws Exception
- Throws:
Exception
create
public static Listener create(ListenerNode node)
throws Exception
- Throws:
Exception
build
public static Object build(String className,
Object config)
throws Exception
- Throws:
Exception
Copyright © 2008-2012 Sonatype. All Rights Reserved.