org.sonatype.gossip.model
Class ComponentFactory
java.lang.Object
org.sonatype.gossip.model.ComponentFactory
public class ComponentFactory
- extends java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
create
public static Trigger create(TriggerNode node)
throws java.lang.Exception
- Throws:
java.lang.Exception
create
public static Listener create(ListenerNode node)
throws java.lang.Exception
- Throws:
java.lang.Exception
build
public static java.lang.Object build(java.lang.String className,
java.lang.Object config)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2008-2011 Sonatype. All Rights Reserved.