org.ow2.easybeans.api.binding
Interface EZBBindingFactory


public interface EZBBindingFactory

Interface used for each Binding Factory called by the Container.

Author:
Florent BENOIT

Method Summary
 void bind(EZBRef ref)
          Binds a reference with the given JNDI name and the given referenceable object.
 void unbind(EZBRef ref)
          Unbinds an object with the given JNDI name.
 

Method Detail

bind

void bind(EZBRef ref)
          throws BindingException
Binds a reference with the given JNDI name and the given referenceable object.

Parameters:
ref - the EasyBeans reference object
Throws:
BindingException - if the bind fails.

unbind

void unbind(EZBRef ref)
            throws BindingException
Unbinds an object with the given JNDI name.

Parameters:
ref - the EasyBeans reference object
Throws:
BindingException - if the bind fails.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.