org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote
Class MX4JRemoteUtils

java.lang.Object
  extended by org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.MX4JRemoteUtils

public class MX4JRemoteUtils
extends Object

Version:
$Revision: 1.2 $
Author:
Simone Bordet

Constructor Summary
MX4JRemoteUtils()
           
 
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, PrivilegedExceptionAction action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MX4JRemoteUtils

public MX4JRemoteUtils()
Method Detail

removeNonSerializableEntries

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


isTrulySerializable

public static boolean isTrulySerializable(Object object)

createConnectionID

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

subjectInvoke

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


Copyright © 2011 Apache Software Foundation. All Rights Reserved.