public class SubjectDomainCombiner extends Object implements DomainCombiner
Constructor and Description |
---|
SubjectDomainCombiner(Subject subject) |
Modifier and Type | Method and Description |
---|---|
ProtectionDomain[] |
combine(ProtectionDomain[] current,
ProtectionDomain[] assigned)
Combines the current ProtectionDomains of the Thread with new
ProtectionDomains.
|
Subject |
getSubject() |
public SubjectDomainCombiner(Subject subject)
public ProtectionDomain[] combine(ProtectionDomain[] current, ProtectionDomain[] assigned)
DomainCombiner
combine
in interface DomainCombiner
current
- - the ProtectionDomains for the current thread.assigned
- - ProtectionsDomains to addpublic Subject getSubject()