Example #1
0
  @OnOpen
  public void onOpen(Session session, EndpointConfig config) {

    this.session = session;
    this.httpSession = (HttpSession) config.getUserProperties().get(HttpSession.class.getName());
    myConnections.add(this);
    this.sessionUser = (ConnectToRMIBean) httpSession.getAttribute("RMIBean");
    // notifyAdmin();
  }
 /**
  * {@inheritDoc}
  *
  * @see com.dinstone.jrpc.endpoint.ServiceImporter#importService(java.lang.Class,
  *     java.lang.String)
  */
 @Override
 public <T> T importService(Class<T> sic, String group) {
   return importService(sic, group, endpointConfig.getDefaultTimeout());
 }