org.apache.openejb.loader
Class Embedder

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

public class Embedder
extends java.lang.Object

Version:
$Revision: 678324 $ $Date: 2008-07-20 23:31:09 +0200 (So, 20. Jul 2008) $

Constructor Summary
Embedder(java.lang.String className)
           
 
Method Summary
 java.lang.Object init(java.util.Properties properties)
          Uses reflection to invoke the init(Properties props) method on the loaderClass field
 java.lang.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
 

Constructor Detail

Embedder

public Embedder(java.lang.String className)
Method Detail

load

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

Returns:
Throws:
java.lang.Exception

init

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

Parameters:
properties -
Returns:
Throws:
java.lang.Exception


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.