org.drools.factmodel
Class Jenerator

java.lang.Object
  extended by org.drools.factmodel.Jenerator

public class Jenerator
extends Object

This will generate a jar from a meta model.


Constructor Summary
Jenerator()
           
 
Method Summary
 byte[] createJar(Fact[] facts, String packageName)
           
 Fact[] loadMetaModel(JarInputStream jis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jenerator

public Jenerator()
Method Detail

createJar

public byte[] createJar(Fact[] facts,
                        String packageName)
                 throws SecurityException,
                        IllegalArgumentException,
                        IOException,
                        IntrospectionException,
                        ClassNotFoundException,
                        NoSuchMethodException,
                        IllegalAccessException,
                        InvocationTargetException,
                        InstantiationException,
                        NoSuchFieldException
Throws:
SecurityException
IllegalArgumentException
IOException
IntrospectionException
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
InstantiationException
NoSuchFieldException

loadMetaModel

public Fact[] loadMetaModel(JarInputStream jis)
                     throws Exception
Throws:
Exception


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.