FileDocCategorySizeDatePackage
DomainCombiner.javaAPI DocAndroid 1.5 API2010Wed May 06 22:41:06 BST 2009java.security

DomainCombiner

public interface DomainCombiner
{@code DomainCombiner} is used to update and optimize {@code ProtectionDomain}s from an {@code AccessControlContext}.
see
AccessControlContext
see
AccessControlContext#AccessControlContext(AccessControlContext, DomainCombiner)
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public java.security.ProtectionDomain[]combine(java.security.ProtectionDomain[] current, java.security.ProtectionDomain[] assigned)
Returns a combination of the two provided {@code ProtectionDomain} arrays. Implementers can simply merge the two arrays into one, remove duplicates and perform other optimizations.

param
current the protection domains of the current execution thread (since the most recent call to {@link AccessController#doPrivileged} ).
param
assigned the protection domains of the parent thread, maybe {@code null}.
return
a single {@code ProtectionDomain} array computed from the two provided arrays.
since
Android 1.0