public BaseSessionProxy checkForSession ( String strClassAndID ) { int iColon = strClassAndID . indexOf ( CLASS_SEPARATOR ) ; String strSessionClass = null ; if ( iColon != - 1 ) strSessionClass = strClassAndID . substring ( 0 , iColon ) ; String strID = strClassAndID . substring ( iColon + 1 ) ; if ( REMOTE_SESSION . equals ( strSessionClass ) ) return new SessionProxy ( this , strID ) ; if ( REMOTE_TABLE . equals ( strSessionClass ) ) return new TableProxy ( this , strID ) ; if ( REMOTE_BASE_SESSION . equals ( strSessionClass ) ) return new BaseSessionProxy ( this , strID ) ; return null ; // Not a session }
Check for session .