package org.apache.felix.ipojo.test.scenarios.component; | |
import java.util.Properties; | |
import org.apache.felix.ipojo.annotations.Component; | |
import org.apache.felix.ipojo.annotations.Provides; | |
import org.apache.felix.ipojo.test.scenarios.annotations.service.BarService; | |
import org.apache.felix.ipojo.test.scenarios.annotations.service.FooService; | |
@Component | |
@Provides(specifications= {FooService.class, BarService.class}) | |
public class ProvidesSimple implements FooService, BarService { | |
public boolean foo() { | |
return false; | |
} | |
public Properties fooProps() { | |
return null; | |
} | |
public boolean getBoolean() { | |
return false; | |
} | |
public double getDouble() { | |
return 0; | |
} | |
public int getInt() { | |
return 0; | |
} | |
public long getLong() { | |
return 0; | |
} | |
public Boolean getObject() { | |
return null; | |
} | |
public boolean bar() { | |
return false; | |
} | |
public Properties getProps() { | |
return null; | |
} | |
} |