org.apache.geronimo.naming.reference
Class AbstractEntryFactory<T,S>

java.lang.Object
  extended by org.apache.geronimo.naming.reference.AbstractEntryFactory<T,S>
All Implemented Interfaces:
Serializable, EntryFactory<T>
Direct Known Subclasses:
ResourceReferenceFactory

public abstract class AbstractEntryFactory<T,S>
extends Object
implements EntryFactory<T>

See Also:
Serialized Form

Constructor Summary
protected AbstractEntryFactory(Artifact[] configId, AbstractNameQuery abstractNameQuery, Class<S> gbeanClass)
           
protected AbstractEntryFactory(Artifact[] configId, Set<AbstractNameQuery> abstractNameQueries, Class<S> gbeanClass)
           
 
Method Summary
protected  void checkClass(Object proxy, Class clazz)
           
 Configuration getConfiguration(Kernel kernel)
           
protected  S getGBean(Kernel kernel)
           
 AbstractName resolveTargetName(Kernel kernel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.geronimo.naming.reference.EntryFactory
buildEntry
 

Constructor Detail

AbstractEntryFactory

protected AbstractEntryFactory(Artifact[] configId,
                               AbstractNameQuery abstractNameQuery,
                               Class<S> gbeanClass)

AbstractEntryFactory

protected AbstractEntryFactory(Artifact[] configId,
                               Set<AbstractNameQuery> abstractNameQueries,
                               Class<S> gbeanClass)
Method Detail

getGBean

protected S getGBean(Kernel kernel)
              throws NamingException
Throws:
NamingException

checkClass

protected void checkClass(Object proxy,
                          Class clazz)

getConfiguration

public Configuration getConfiguration(Kernel kernel)

resolveTargetName

public AbstractName resolveTargetName(Kernel kernel)
                               throws GBeanNotFoundException
Throws:
GBeanNotFoundException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.