KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > org > omg > CosNaming > NamingContextPackage > NotFound

org.omg.CosNaming.NamingContextPackage
Class NotFound

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.CosNaming.NamingContextPackage.NotFound
All Implemented Interfaces:
Serializable, IDLEntity
See Also:
Top Examples, Source Code

public NotFound()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public NotFound(String $reason,
                NotFoundReason _why,
                NameComponent[] _rest_of_name)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public NotFound(NotFoundReason _why,
                NameComponent[] _rest_of_name)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public NameComponent[] rest_of_name
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1479]Invoke CORBA service
By Salai on 2005/07/12 17:03:46  Rate
  //Initialize the ORB. 
     org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init ( args,null ) ; 
  
  
     System.out.println ( "ORB Initialied...." ) ; 
  
  
       String ior = new BufferedReader (  new FileReader ( "ns.ior" )  ) .readLine (  ) ; 
  
  
       org.omg.CORBA.Object obj = orb.string_to_object (  ior  ) ; 
  
  
          System.out.println ( "CORBA.Object.....:"+obj ) ; 
  
  
     NamingContextExt nc = NamingContextExtHelper.narrow ( obj ) ; 
     System.out.println ( "NamingContextExt:"+nc ) ; 
       // Locate an account manager through the Naming Service. 
         NameComponent comp= new NameComponent ( "RootPOA", "" ) ; 
         org.omg.CORBA.Object mgrObj = nc.resolve ( new NameComponent [  ]  { comp }  ) ; 
  
  
     NameValuePair pairIn [  ]  = new NameValuePair [ 1 ] ; 
       pairIn [ 0 ]  = new NameValuePair ( "TN","12345" ) ; 
     GenericParamHolder pairOut = new GenericParamHolder (  ) ; 
  
  
     LSMS lsms = LSMSHelper.narrow ( mgrObj ) ; 
  
  
     long res = lsms.SyncServiceRequest ( pairIn,pairOut ) ; 
 


public NotFoundReason why
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags