Class NamingProvisioningHolder

java.lang.Object
com.zfabrik.util.internal.NamingProvisioningHolder

public class NamingProvisioningHolder extends Object
Previously the naming system integration with Z2 worked via registration of an InitialContextFactoryBuilder and an ObjectFactoryBuilder directly with the Naming Manager. That can be done once only per life time of a VM and is hence not very embedding friendly. Now we register only a convenient access to the Z2 naming system extension mechanism by allowing a lookup for a URLContextFactory and an InitialContextFactory as provided by naming extensions. These lookups can be used by standard URL handlers etc to delegate to Z2 provided extensions.