16.01.2014 Views

Diploma Thesis Santiago Gómez Sáez - IAAS

Diploma Thesis Santiago Gómez Sáez - IAAS

Diploma Thesis Santiago Gómez Sáez - IAAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.3. Extensions<br />

retrieve stored elements [Ura12]. However, the JBI ServiceMix Registry OSGi bundle libraries<br />

are not registered as an OSGi service. Therefore, this component is not accessible from third<br />

party OSGi bundles in the OSGi container. We modify its original BundleActivator class and<br />

include the OSGi service registration to allow its usage from external OSGi bundles.<br />

1 <br />

2 <br />

3 <br />

13<br />

14 <br />

15 <br />

16 <br />

Listing 6.6: Eh cache configuration for SQL support.<br />

The cache instances are created on the Ehcache 2.6.0 component [Ter], which provides support<br />

to store serializable objects indexed by a key. A cache instance configuration in the Ehcache<br />

component must be specified in an XML file, which is described in Listing 6.6. However, the<br />

cashing support is not multi-tenant aware. We implement a dynamic creation of multi-tenant<br />

aware cache keys in order to ensure isolation between the cashed tenant’s information, and<br />

data (see Listing 6.2).<br />

73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!