public <T> void share( byte channel, String name, T object, Class<? super T> type ) {
        if( !isStarted ) {
            synchronized(pending) {
                if( !isStarted ) {
                    pending.add(new ObjectInfo(channel, name, object, type));
                    return;
                }
            }   
        }
        
        // Else we can add it directly.
        rmi.share(channel, name, object, type);
    }
Shares the specified object with the server and associates it with the 
 specified name.  Objects shared in this way are available in the connection-specific
 RMI registry on the server and are not available to other connections.
 All object related communication will be done over the specified connection
 channel.
jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiClientService.java