org.apache.openejb.loader
Class Embedder

java.lang.Object
  extended by org.apache.openejb.loader.Embedder

public class Embedder
extends Object

Version:
$Revision: 1245047 $ $Date: 2012-02-16 15:43:47 +0000 (Thu, 16 Feb 2012) $

Field Summary
static String ADDITIONAL_LIB_FOLDER
           
 
Constructor Summary
Embedder(String className)
           
 
Method Summary
 Object init(Properties properties)
          Uses reflection to invoke the init(Properties props) method on the loaderClass field
 Class load()
          Loads the Class object for the className.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADDITIONAL_LIB_FOLDER

public static final String ADDITIONAL_LIB_FOLDER
Constructor Detail

Embedder

public Embedder(String className)
Method Detail

load

public Class load()
           throws Exception
Loads the Class object for the className.

Returns:
Throws:
Exception

init

public Object init(Properties properties)
            throws Exception
Uses reflection to invoke the init(Properties props) method on the loaderClass field

Parameters:
properties -
Returns:
Throws:
Exception


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.