de.smartics.properties.impl.config.domain.key.rtaware
Interface RuntimeAdapter

Package class diagram package RuntimeAdapter
All Known Implementing Classes:
ThreadLocalRuntimeAdapter

public interface RuntimeAdapter

Provides access to runtime information.


Method Summary
 TenantId getTenantId()
          Returns the current tenant.
 UserId getUserId()
          Returns the current user.
 

Method Detail

getTenantId

TenantId getTenantId()
Returns the current tenant.

Returns:
the current tenant. May be TenantId.ANY_TENANT, but is never null.

getUserId

UserId getUserId()
Returns the current user.

Returns:
the current user. May be UserId.ANY_USER, but is never null.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.