public void bindServiceRef(Context encCtx, String encName, UnifiedVirtualFile vfsRoot, ClassLoader loader, ServiceRefMetaData sref) throws NamingException { if (delegate != null) delegate.bindServiceRef(encCtx, encName, vfsRoot, loader, sref); }
public Object newChild(ServiceRefElement ref, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs) { Object child = null; if (delegate != null) child = delegate.newChild(ref, navigator, namespaceURI, localName, attrs); return child; }
public void setValue(ServiceRefElement ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (delegate != null) delegate.setValue(ref, navigator, namespaceURI, localName, value); }
public ServiceRefMetaData newServiceRefMetaData() { ServiceRefMetaData sref; if (delegate != null) sref = delegate.newServiceRefMetaData(); else sref = new DummyServiceRef(); return sref; }
public void bindServiceRef(Context encCtx, String encName, UnifiedVirtualFile vfsRoot, ClassLoader loader, ServiceReferenceMetaData sref) throws NamingException { if (!sref.isProcessed()) { final UnifiedServiceRefMetaData spiRef = getUnifiedServiceRefMetaData(vfsRoot, sref); final Referenceable jndiReferenceable = delegate.createReferenceable(spiRef); final String jndiFullName = encCtx.getNameInNamespace() + "/" + encName; log.info("Binding service reference to [jndi=" + jndiFullName + "]"); Util.bind(encCtx, encName, jndiReferenceable); sref.setProcessed(true); } }
public void bindServiceRef(Context encCtx, String encName, UnifiedVirtualFile vfsRoot, ClassLoader loader, ServiceReferenceMetaData sref) throws NamingException { if (delegate != null) { if (sref.isProcessed() == false) { ServiceRefMetaData spiRef = getUnifiedServiceRefMetaData(vfsRoot, sref); delegate.bindServiceRef(encCtx, encName, vfsRoot, loader, spiRef); sref.setProcessed(true); } } }