public synchronized ProjectAgent getProjectAgent ( ) { if ( this . projectAgent == null ) { if ( isService ) { this . projectAgent = new ProjectAgent ( this . serviceName , this . projectId , this . sslEnabled , this . nfvoIp , this . nfvoPort , this . version , this . serviceKey ) ; } else { this . projectAgent = new ProjectAgent ( this . username , this . password , this . projectId , this . sslEnabled , this . nfvoIp , this . nfvoPort , this . version ) ; } } return this . projectAgent ; }
Returns a ProjectAgent with which requests regarding Projects can be sent to the NFVO .