code: public void setLayerInfo(VectorLayerInfo layerInfo) throws LayerException {
  		this.layerInfo = layerInfo;
  		if (null != sessionFactory) {
  			setSessionFactory(sessionFactory);
  		}
  	}
docs: Set the layer configuration.
  
  @param layerInfo layer info
  @throws LayerException oops