mx4j.tools.remote

Class SubjectInvoker

Implemented Interfaces:
InvocationHandler
Known Direct Subclasses:
HTTPSubjectInvoker

public abstract class SubjectInvoker
extends java.lang.Object
implements InvocationHandler

Version:
$Revision: 1.4 $

Constructor Summary

SubjectInvoker(Object target, Subject subject, AccessControlContext context, Map environment)

Method Summary

protected Object
chain(Object proxy, Method method, Object[] args)
protected Object
handleSpecialInvoke(Object target, Method method, Object[] args)
Object
invoke(Object proxy, Method method, Object[] args)
protected boolean
isPlainInvoke(Method method)
protected Object
subjectInvoke(Object proxy, Method method, Object[] args, Subject delegate)

Constructor Details

SubjectInvoker

protected SubjectInvoker(Object target,
                         Subject subject,
                         AccessControlContext context,
                         Map environment)

Method Details

chain

protected Object chain(Object proxy,
                       Method method,
                       Object[] args)
            throws Exception

handleSpecialInvoke

protected Object handleSpecialInvoke(Object target,
                                     Method method,
                                     Object[] args)
            throws Exception

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
            throws Throwable

isPlainInvoke

protected boolean isPlainInvoke(Method method)

subjectInvoke

protected Object subjectInvoke(Object proxy,
                               Method method,
                               Object[] args,
                               Subject delegate)
            throws Exception

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.