private ReplaceTokens.Token createRmiPortToken(){
  if (getPropertyValue(GeneralPropertySet.RMI_PORT) == null) {
    configuration.setProperty(GeneralPropertySet.RMI_PORT,"2999");
  }
  String rmiPort=getPropertyValue(GeneralPropertySet.RMI_PORT);
  ReplaceTokens.Token tokenRmiPort=new ReplaceTokens.Token();
  tokenRmiPort.setKey(GeneralPropertySet.RMI_PORT);
  tokenRmiPort.setValue(rmiPort);
  return tokenRmiPort;
}

private ReplaceTokens . Token createRmiPortToken ( ) { if ( getPropertyValue ( GeneralPropertySet . RMI_PORT ) == null ) { configuration . setProperty ( GeneralPropertySet . RMI_PORT , "2999" ) ; } String rmiPort = getPropertyValue ( GeneralPropertySet . RMI_PORT ) ; ReplaceTokens . Token tokenRmiPort = new ReplaceTokens . Token ( ) ; tokenRmiPort . setKey ( GeneralPropertySet . RMI_PORT ) ; tokenRmiPort . setValue ( rmiPort ) ; return tokenRmiPort ; }
creates rmi port token for jndi . properties .
