1
edit
Changes
Proxy
,→Virtual Proxy - Java
public class GBeanCollectionReference extends AbstractGBeanReference {
public GBeanCollectionReference(GBeanInstance gbeanInstance, GReferenceInfo referenceInfo,
Kernel kernel, DependencyManager dependencyManager) throws InvalidConfigurationException {
super(gbeanInstance, referenceInfo, kernel, dependencyManager);
}
if (!getPatterns().isEmpty() && getProxy() == null) {
// add a dependency on our target and create the proxy
setProxy(new ProxyCollection(getName(), getReferenceType(), getKernel().getProxyManager(), getTargets()));
}
return true;