org.apache.ace.identification.property
Class PropertyBasedIdentification

java.lang.Object
  extended by org.apache.ace.identification.property.PropertyBasedIdentification
All Implemented Interfaces:
org.apache.ace.identification.Identification, org.osgi.service.cm.ManagedService

public class PropertyBasedIdentification
extends Object
implements org.osgi.service.cm.ManagedService, org.apache.ace.identification.Identification

Simple implementation of the Identification interface. Because a gateway identification should not change during it's lifetime the user of this implementation should set the ID only once.


Constructor Summary
PropertyBasedIdentification()
           
 
Method Summary
 String getID()
           
 void updated(Dictionary dictionary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyBasedIdentification

public PropertyBasedIdentification()
Method Detail

getID

public String getID()
Specified by:
getID in interface org.apache.ace.identification.Identification

updated

public void updated(Dictionary dictionary)
             throws org.osgi.service.cm.ConfigurationException
Specified by:
updated in interface org.osgi.service.cm.ManagedService
Throws:
org.osgi.service.cm.ConfigurationException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.