Add null check
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@830803 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
15815e0452
commit
72551516cb
1 changed files with 4 additions and 0 deletions
|
@ -263,6 +263,10 @@ public class RemoteServiceAdminImpl implements RemoteServiceAdmin, ManagedServic
|
|||
}
|
||||
|
||||
public synchronized void updated(Dictionary props) throws ConfigurationException {
|
||||
if (props == null) {
|
||||
// It can be null in Apache Felix
|
||||
return;
|
||||
}
|
||||
String domainRegistry = (String)props.get("org.osgi.sca.domain.registry");
|
||||
if (domainRegistry != null) {
|
||||
exporter.setDomainRegistry(domainRegistry);
|
||||
|
|
Loading…
Add table
Reference in a new issue