mx4j.remote

Class MX4JRemoteUtils


public class MX4JRemoteUtils
extends java.lang.Object

Version:
$Revision: 1.19 $

Method Summary

static String
createConnectionID(String protocol, String callerAddress, int callerPort, Subject subject)
static boolean
isTrulySerializable(Object object)
static Map
removeNonSerializableEntries(Map map)
Returns a copy of the given Map that does not contain non-serializable entries
static Object
subjectInvoke(Subject subject, Subject delegate, AccessControlContext context, Map environment, PrivilegedExceptionAction action)

Method Details

createConnectionID

public static String createConnectionID(String protocol,
                                        String callerAddress,
                                        int callerPort,
                                        Subject subject)

isTrulySerializable

public static boolean isTrulySerializable(Object object)

removeNonSerializableEntries

public static Map removeNonSerializableEntries(Map map)
Returns a copy of the given Map that does not contain non-serializable entries

subjectInvoke

public static Object subjectInvoke(Subject subject,
                                   Subject delegate,
                                   AccessControlContext context,
                                   Map environment,
                                   PrivilegedExceptionAction action)
            throws Exception

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