org.apache.aries.samples.blueprint.idverifier.client
Class IDConverter

java.lang.Object
  extended by org.apache.aries.samples.blueprint.idverifier.client.IDConverter
All Implemented Interfaces:
org.osgi.service.blueprint.container.Converter

public class IDConverter
extends Object
implements org.osgi.service.blueprint.container.Converter

Author:
forrestxm

Constructor Summary
IDConverter()
           
 
Method Summary
 boolean canConvert(Object sourceObject, org.osgi.service.blueprint.container.ReifiedType targetType)
           
 Object convert(Object sourceObject, org.osgi.service.blueprint.container.ReifiedType targetType)
           
 String getPersonid()
           
 PersonIDVerifier getVerifier()
           
 void setPersonid(String personid)
           
 void setVerifier(PersonIDVerifier verifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDConverter

public IDConverter()
Method Detail

canConvert

public boolean canConvert(Object sourceObject,
                          org.osgi.service.blueprint.container.ReifiedType targetType)
Specified by:
canConvert in interface org.osgi.service.blueprint.container.Converter

convert

public Object convert(Object sourceObject,
                      org.osgi.service.blueprint.container.ReifiedType targetType)
               throws Exception
Specified by:
convert in interface org.osgi.service.blueprint.container.Converter
Throws:
Exception

getVerifier

public PersonIDVerifier getVerifier()
Returns:
the verifier

setVerifier

public void setVerifier(PersonIDVerifier verifier)
Parameters:
verifier - the verifier to set

getPersonid

public String getPersonid()
Returns:
the personid

setPersonid

public void setPersonid(String personid)
Parameters:
personid - the personid to set


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