JBoss.orgCommunity Documentation

Chapter 52. Initial Context Binder service

52.1. API
52.2. Configuration

Initial Context Binder is responsible for binding references at runtime, persisting in file and automatically rebinding after restart. Java temp directory is used to persist references in bind-references.xml file.

Note

Available since Kernel 2.2.1-GA

Service provide methods for binding reference.

public void bind(String bindName, String className, String factory, String factoryLocation, Map<String, String> refAddr) throws NamingException, FileNotFoundException, XMLStreamExcept

A configuration example

<component> 
   <key>org.exoplatform.services.naming.InitialContextBinder</key> 
   <type>org.exoplatform.services.naming.InitialContextBinder</type> 
</component>