Package org.apache.ws.muse.example.businessprocesstype

Examples of org.apache.ws.muse.example.businessprocesstype.BusinessprocesstypeHome


                     resourceAdminHome.getResources(  ).remove( isResource.getID(  ) );
                  }
                  else if ( resource instanceof BusinessprocesstypeResource )
                  {
                     BusinessprocesstypeResource bpResource = (BusinessprocesstypeResource) resource;
                     BusinessprocesstypeHome     bpHome =
                        (BusinessprocesstypeHome) initialContext.lookup( BusinessprocesstypeHome.HOME_LOCATION );
                     bpHome.remove( value );
                     resourceAdminHome.getResources(  ).remove( bpResource.getID(  ) );
                  }
                  else
                  {
                     throw new Exception( "The EPR is unknown." );
View Full Code Here


   public EndpointReference createBusinessProcess( ResourceContext  context,
                                                   CreateParamsType createparams )
   throws Exception
   {
      Context                     initialContext = new InitialContext(  );
      BusinessprocesstypeHome     home     =
         (BusinessprocesstypeHome) initialContext.lookup( BusinessprocesstypeHome.HOME_LOCATION );
      BusinessprocesstypeResource resource = (BusinessprocesstypeResource) home.create( context, createparams );
      ResourceadminHome           aHome    = (ResourceadminHome) getResourceContext().getResourceHome(  );
      aHome.getResources(  ).put( resource.getID(  ),
                                  resource );
      return resource.getEndpointReference(  );
   }
View Full Code Here

                     aResourceAdminHome.getResources(  ).remove( isResource.getID(  ) );
                  }
                  else if ( resource instanceof BusinessprocesstypeResource )
                  {
                     BusinessprocesstypeResource bpResource = (BusinessprocesstypeResource) resource;
                     BusinessprocesstypeHome     bpHome =
                        (BusinessprocesstypeHome) initialContext.lookup( BusinessprocesstypeHome.HOME_LOCATION );
                     bpHome.remove( aKey );
                     aResourceAdminHome.getResources(  ).remove( bpResource.getID(  ) );
                  }
                  else
                  {
                     throw new Exception( "The EPR is unregistered " );
View Full Code Here

   public EndpointReference createBusinessProcess( ResourceContext  context,
                                                   CreateParamsType createparams )
   throws Exception
   {
      Context                     initialContext = new InitialContext(  );
      BusinessprocesstypeHome     home     =
         (BusinessprocesstypeHome) initialContext.lookup( BusinessprocesstypeHome.HOME_LOCATION );
      BusinessprocesstypeResource resource = (BusinessprocesstypeResource) home.create( context, createparams );
      ResourceadminHome           aHome    = (ResourceadminHome) getResourceHome(  );
      aHome.getResources(  ).put( resource.getID(  ),
                                  resource );
      return resource.getEndpointReference(  );
   }
View Full Code Here

TOP

Related Classes of org.apache.ws.muse.example.businessprocesstype.BusinessprocesstypeHome

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.