protected void allocResource(Object resource){
  alloced.add(resource);
}

protected void allocResource ( Object resource ) { alloced . add ( resource ) ; }
allocates a resource and performs any initilization required to manage the alloced resource
