org.apache.geronimo.gshell.lookup
Class LookupFactorySupport

java.lang.Object
  extended by org.codehaus.plexus.component.factory.AbstractComponentFactory
      extended by org.apache.geronimo.gshell.lookup.LookupFactorySupport
All Implemented Interfaces:
org.codehaus.plexus.component.factory.ComponentFactory
Direct Known Subclasses:
EnvironmentLookup, IOLookup

public class LookupFactorySupport
extends org.codehaus.plexus.component.factory.AbstractComponentFactory

Support for lookup factory implementations.

Version:
$Rev: 577052 $ $Date: 2007-09-18 13:57:12 -0700 (Tue, 18 Sep 2007) $

Field Summary
protected  ThreadLocal holder
           
protected  org.slf4j.Logger log
           
 
Fields inherited from class org.codehaus.plexus.component.factory.AbstractComponentFactory
id
 
Fields inherited from interface org.codehaus.plexus.component.factory.ComponentFactory
ROLE
 
Constructor Summary
LookupFactorySupport()
           
 
Method Summary
 Object get()
           
 Object newInstance(org.codehaus.plexus.component.repository.ComponentDescriptor descriptor, org.codehaus.plexus.classworlds.realm.ClassRealm classRealm, org.codehaus.plexus.PlexusContainer container)
           
 void set(Object obj)
           
 
Methods inherited from class org.codehaus.plexus.component.factory.AbstractComponentFactory
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.slf4j.Logger log

holder

protected final ThreadLocal holder
Constructor Detail

LookupFactorySupport

public LookupFactorySupport()
Method Detail

set

public void set(Object obj)

get

public Object get()

newInstance

public Object newInstance(org.codehaus.plexus.component.repository.ComponentDescriptor descriptor,
                          org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
                          org.codehaus.plexus.PlexusContainer container)
                   throws org.codehaus.plexus.component.factory.ComponentInstantiationException
Throws:
org.codehaus.plexus.component.factory.ComponentInstantiationException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.