Expand my Community achievements bar.

avalers
avalers
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • I resolved. :) You were right!The problem was in the pom file.

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • avalers wrote... justin_at_adobe wrote... avalers wrote... justin_at_adobe wrote... Hi, First of all, never call FrameworkUtil.getBundle() in a component's activate method. You have access to the BundleContext via the ComponenContext. You should actually try to avoid using Fr...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • justin_at_adobe wrote... avalers wrote... justin_at_adobe wrote... Hi, First of all, never call FrameworkUtil.getBundle() in a component's activate method. You have access to the BundleContext via the ComponenContext. You should actually try to avoid using FrameworkUtil.getBundle() in g...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • justin_at_adobe wrote... Hi, First of all, never call FrameworkUtil.getBundle() in a component's activate method. You have access to the BundleContext via the ComponenContext. You should actually try to avoid using FrameworkUtil.getBundle() in general as it isn't very performant. As to the original ...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • Thanks for the example. I tried, However, the   factoryref is returning null.          ServiceReference factoryRef = bundleContext.getServiceReference(SlingRepository.class.getName());

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • When I added the slingRepository, the service its not longer activated.

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • I'm working with handler. I'm trying to use the slingRepository.  However, when I added to my class It's not deploying my handler and its not showing any error.Any idea?@Component(        metatype = true,        immediate = false)@Servicepublic class MyAuthenticationHandler extends DefaultAuthentica...

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    11
  • Hi everyone,Can I add a custom property on my OSGI service?ex.@Properties({    @Property(name ="NewValue", intValue = 0, propertyPrivate = false, label="custom value")})@Servicepublic class NameClass If I can, How I access to the property in my source code? Thanks,

    Type

    Questions

    Views

    417

    Likes

    0

    Replies

    2
  • It's possible to do this without provide any user and password?

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • Do you have information regarding tokenCredentials. I made this implementation:  credentials = new SimpleCredentials(extractedUserId, extractedPassword.toCharArray());            credentials.setAttribute(".token", "");            credentials.setAttribute(trustCredentials, "this value is inconsequent...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
Top badges earned by avalers
Customize the badges you want to showcase on your profile