Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.mdm.index.matching
Class MEFAFactory

    java.lang.Object
      com.sun.mdm.index.matching.MEFAFactory

public class MEFAFactory
extends java.lang.Object

Helper class to load configured component implementation classes

Constructor Summary
`MEFAFactory()` Creates new MEFAFactory

Method Summary
`(package private) java.lang.Object` | `getComponentInstance(java.lang.String componentName)` Load configured component implementation classes
`(package private) MEFAConfiguration` | `getMEFAConfiguration()` Get the MEFA configuration

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MEFAFactory

    public MEFAFactory()

  Creates new MEFAFactory

Method Detail

### getComponentInstance

    java.lang.Object getComponentInstance(java.lang.String componentName)
                                    throws java.lang.InstantiationException,
                                           java.lang.ClassNotFoundException,
                                           java.lang.IllegalAccessException

  Load configured component implementation classes

  Parameters:
    `componentName` - the component name for which to load the instance
  Returns:
    an instance of the configured component implementation class, null if no class is defined.
  Throws:
    `java.lang.InstantiationException` - Instantiating the configured class failed
    `java.lang.ClassNotFoundException` - Loading the configured class failed
    `java.lang.IllegalAccessException` - Loading/Instantiating the configured class is not allowed by the current security settings

### getMEFAConfiguration

    MEFAConfiguration getMEFAConfiguration()
                                     throws java.lang.InstantiationException

  Get the MEFA configuration

  Returns:
    MEFAConfigration the configuration details for MEFA
  Throws:
    `java.lang.InstantiationException` - if the configuration could not be retrieved

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Sun Microsystems, Inc.