Lines Matching defs:target
50 private Resource target;
63 * Constructor. No monitor target and a default buffer size of
74 * @param target The resource to be monitored.
77 public ResourceMonitor(Resource target, int maxSize)
80 this.target = target;
98 List candidates = target.getComponents(null);
132 return (target);
136 * Set the resource to be monitored. A resource target can
140 * @param target The resource to be monitored.
141 * @throws IllegalArgumentException if the target has already
144 public void setResource(Resource target)
146 if (this.target != null)
147 this.target = target;
149 throw new IllegalArgumentException("Once the target " +
162 String type = target.getStringProperty("type");
163 return (target.getStringProperty(type + ".name"));