]>
git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/org.argeo.slc.spring/src/org/argeo/slc/spring/repo/osgi/UriWrapper.java
1 package org
.argeo
.slc
.spring
.repo
.osgi
;
3 import org
.apache
.commons
.logging
.Log
;
4 import org
.apache
.commons
.logging
.LogFactory
;
5 import org
.springframework
.beans
.factory
.BeanNameAware
;
7 public class UriWrapper
extends org
.argeo
.slc
.repo
.osgi
.UriWrapper
implements BeanNameAware
{
8 private final static Log log
= LogFactory
.getLog(UriWrapper
.class);
11 public void setBeanName(String name
) {
12 if (getName() == null) {
15 if (!name
.contains("#"))
16 log
.warn("Using explicitely set name " + getName() + " and not bean name " + name
);