Hi everyone,
How i can declare a parameter in the OSGi bundle configuration be required or mandatory?
Thanks,
Tung
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Tung,
Have you tried this -
@Component @Providespublic class MyComponent implements MyService { @ServiceProperty(name="username", mandatory=true)private String m_username; @Property(name="password", mandatory=true)private String m_password;//...}
Views
Replies
Total Likes
Hi Tung,
Have you tried this -
@Component @Providespublic class MyComponent implements MyService { @ServiceProperty(name="username", mandatory=true)private String m_username; @Property(name="password", mandatory=true)private String m_password;//...}
Views
Replies
Total Likes