org.apache.cocoon.woody.binding
Class JXPathBindingManager

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.woody.binding.JXPathBindingManager
All Implemented Interfaces:
Disposable, Initializable, Configurable, LogEnabled, Serviceable, ThreadSafe, BindingManager

public class JXPathBindingManager
extends AbstractLogEnabled
implements BindingManager, Serviceable, Disposable, Initializable, Configurable, ThreadSafe

JXPathBindingManager provides an implementation of BindingManagerby usage of the JXPath package .

Version:
CVS $Id: JXPathBindingManager.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Nested Class Summary
 class JXPathBindingManager.Assistant
          Assistant Inner class discloses enough features to the created childBindings to recursively This patterns was chosen to prevent Inversion Of Control between this factory and its builder classes (that could be provided by third parties.)
 
Field Summary
 
Fields inherited from interface org.apache.cocoon.woody.binding.BindingManager
NAMESPACE, ROLE
 
Constructor Summary
JXPathBindingManager()
           
 
Method Summary
 void configure(Configuration configuration)
           
 Binding createBinding(Source source)
          Creates a binding from the XML config found at source parameter.
 void dispose()
           
 void initialize()
           
 void service(ServiceManager manager)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXPathBindingManager

public JXPathBindingManager()
Method Detail

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException

initialize

public void initialize()
                throws Exception
Specified by:
initialize in interface Initializable
Throws:
Exception

createBinding

public Binding createBinding(Source source)
                      throws BindingException
Description copied from interface: BindingManager
Creates a binding from the XML config found at source parameter.

Specified by:
createBinding in interface BindingManager
Throws:
BindingException

dispose

public void dispose()
Specified by:
dispose in interface Disposable


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.