1 17 package org.apache.geronimo.naming.deployment; 18 19 import java.util.Set ; 20 21 import org.apache.geronimo.gbean.GBeanData; 22 23 26 public class GBeanResourceEnvironmentBuilder implements ResourceEnvironmentBuilder { 27 28 private final GBeanData gbean; 29 30 public GBeanResourceEnvironmentBuilder(GBeanData gbean) { 31 this.gbean = gbean; 32 } 33 34 public Set getUnshareableResources() { 35 return (Set ) gbean.getAttribute("unshareableResources"); 36 } 37 38 public void setUnshareableResources(Set unshareableResources) { 39 gbean.setAttribute("unshareableResources", unshareableResources); 40 } 41 42 public Set getApplicationManagedSecurityResources() { 43 return (Set ) gbean.getAttribute("applicationManagedSecurityResources"); 44 } 45 46 public void setApplicationManagedSecurityResources(Set applicationManagedSecurityResources) { 47 gbean.setAttribute("applicationManagedSecurityResources", applicationManagedSecurityResources); 48 } 49 } 50 | Popular Tags |