Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mom4j.api
Interface JNDIContextHandler  view JNDIContextHandler download JNDIContextHandler.java


public interface JNDIContextHandler

This interface has call-back methods that allow to hook into mom4js JNDI server. A JNDIContextHandler can e.g. persist the the bindings or exeucte certain actions when certain bindings are performed.

Version:
$Id: JNDIContextHandler.java,v 1.2 2003/07/25 07:33:16 the_real_grace Exp $ $Date: 2003/07/25 07:33:16 $

Method Summary
 void bind(java.lang.String path, java.lang.Object value)
          Notifies the handler of a data binding.
 java.lang.String getContextPath()
           
 java.util.Map load()
          Asks the context-handler to load bindings from an external storage.
 void unbind(java.lang.String path)
          Notifies the handler of an unbinding.
 

Method Detail

getContextPath

public java.lang.String getContextPath()

bind

public void bind(java.lang.String path,
                 java.lang.Object value)
Notifies the handler of a data binding.


unbind

public void unbind(java.lang.String path)
Notifies the handler of an unbinding.


load

public java.util.Map load()
Asks the context-handler to load bindings from an external storage.