Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Hi everyone,
How i can declare a parameter in the OSGi bundle configuration be required or mandatory?
Thanks,
Tung
Solved! Go to Solution.
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;//...}
View solution in original post
Views
Likes
Replies
Like