Hi,

the lock is defined in the etc/system.properties file.

So, it should be possible to define:

karaf.lock.class=my.own.lock.Clazz

and put the jar file in the lib folder (prefixed with karaf-).

Regards
JB

On 07/14/2014 10:29 PM, jhammer03 wrote:
Hi all,

Still settling in with Karaf, so please bear with me.

I'd like to create and use a custom org.apache.karaf.main.lock.Lock
implementation without directly modifying karaf.jar. Is this even possible
to accomplish while still working within the constraints of OSGi class
loading and how they're used/implemented by Karaf?

Thanks,

- j



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Custom-karaf-main-lock-Lock-implementation-is-it-possible-tp4034214.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to