Xindice API

org.apache.xindice.core.objects
Class SimpleReflectable

java.lang.Object
  |
  +--org.apache.xindice.util.SimpleConfigurable
        |
        +--org.apache.xindice.core.objects.SimpleReflectable
All Implemented Interfaces:
Configurable, Poolable, Reflectable
Direct Known Subclasses:
SimpleXMLObject

public class SimpleReflectable
extends SimpleConfigurable
implements Reflectable, Poolable

SimpleReflectable


Fields inherited from interface org.apache.xindice.core.objects.Reflectable
NO_PARAMS
 
Constructor Summary
SimpleReflectable()
           
 
Method Summary
 java.lang.String getName()
           
 Reflector getReflector()
          getReflector returns the Reflectable Object's Reflector instance.
 org.w3c.dom.Document queryInterface()
          queryInterface allows a client to query the Reflectable Object for exposed methods.
 void reclaim()
          reclaim prompts the Poolable object to return itself to the ObjectPool.
 void setConfig(Configuration config)
          setConfig sets the configuration information for the Configurable object instance.
 void setPool(ObjectPool pool)
          setPool passes a reference to the originating ObjectPool for this Object.
 
Methods inherited from class org.apache.xindice.util.SimpleConfigurable
getConfig
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleReflectable

public SimpleReflectable()
Method Detail

setConfig

public void setConfig(Configuration config)
               throws XindiceException
Description copied from interface: Configurable
setConfig sets the configuration information for the Configurable object instance.
Overrides:
setConfig in class SimpleConfigurable
Following copied from interface: org.apache.xindice.util.Configurable
Parameters:
config - The configuration Node

getReflector

public Reflector getReflector()
Description copied from interface: Reflectable
getReflector returns the Reflectable Object's Reflector instance.
Specified by:
getReflector in interface Reflectable
Following copied from interface: org.apache.xindice.core.objects.Reflectable
Returns:
The Object's Reflector

setPool

public void setPool(ObjectPool pool)
Description copied from interface: Poolable
setPool passes a reference to the originating ObjectPool for this Object. This will allow the Poolable Object to call back to the ObjectPool in order to be reclaimed.
Specified by:
setPool in interface Poolable
Following copied from interface: org.apache.xindice.util.Poolable
Parameters:
pool - The parent ObjectPool

reclaim

public void reclaim()
Description copied from interface: Poolable
reclaim prompts the Poolable object to return itself to the ObjectPool. A Poolable implementation should perform any necessary cleanup before calling pool.putObject to return itself to the ObjectPool.
Specified by:
reclaim in interface Poolable

getName

public java.lang.String getName()

queryInterface

public org.w3c.dom.Document queryInterface()
Description copied from interface: Reflectable
queryInterface allows a client to query the Reflectable Object for exposed methods.
Specified by:
queryInterface in interface Reflectable
Following copied from interface: org.apache.xindice.core.objects.Reflectable
Returns:
The Object's interface

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation