public ActivationGroupImpl(ActivationGroupID id,MarshalledObject<?> data) throws RemoteException {
  super(id);
  groupID=id;
  unexportObject(this,true);
  RMIServerSocketFactory ssf=new ServerSocketFactoryImpl();
  UnicastRemoteObject.exportObject(this,0,null,ssf);
  if (System.getSecurityManager() == null) {
    try {
      System.setSecurityManager(new SecurityManager());
    }
 catch (    Exception e) {
      throw new RemoteException("unable to set security manager",e);
    }
  }
}

public ActivationGroupImpl ( ActivationGroupID id , MarshalledObject < ? > data ) throws RemoteException { super ( id ) ; groupID = id ; unexportObject ( this , true ) ; RMIServerSocketFactory ssf = new ServerSocketFactoryImpl ( ) ; UnicastRemoteObject . exportObject ( this , 0 , null , ssf ) ; if ( System . getSecurityManager ( ) == null ) { try { System . setSecurityManager ( new SecurityManager ( ) ) ; } catch ( Exception e ) { throw new RemoteException ( "unable to set security manager" , e ) ; } } }
creates a default activation group implementation .
