org.glassfish.javaee.services
Class ResourcesBinder

java.lang.Object
  extended by org.glassfish.javaee.services.ResourcesBinder

@Service
public class ResourcesBinder
extends Object

Binds proxy objects in the jndi namespace for all the resources and pools defined in the configuration. Those objects will delay the instantiation of the actual resources and pools until code looks them up in the naming manager.

Author:
Jerome Dochez, Jagadish Ramu

Constructor Summary
ResourcesBinder()
           
 
Method Summary
 void deployResource(ResourceInfo resourceInfo, Resource resource)
          deploy proxy for the resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcesBinder

public ResourcesBinder()
Method Detail

deployResource

public void deployResource(ResourceInfo resourceInfo,
                           Resource resource)
deploy proxy for the resource

Parameters:
resourceInfo - jndi name with which the resource need to be deployed
resource - config object of the resource


Copyright © 2012 GlassFish Community. All Rights Reserved.