Examples of ApplicationHome


Examples of org.apache.ws.muse.example.application.ApplicationHome

                  found = true;
                  Resource resource = (Resource) resources.get( value );
                  if ( resource instanceof ApplicationResource )
                  {
                     ApplicationResource appResource = (ApplicationResource) resource;
                     ApplicationHome     appHome =
                        (ApplicationHome) initialContext.lookup( ApplicationHome.HOME_LOCATION );
                     appHome.remove( value );
                     resourceAdminHome.getResources(  ).remove( appResource.getID(  ) );
                  }
                  else if ( resource instanceof HostResource )
                  {
                     HostResource hostResource = (HostResource) resource;
View Full Code Here

Examples of org.apache.ws.muse.example.application.ApplicationHome

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

Examples of org.apache.ws.muse.example.application.ApplicationHome

                  found = true;
                  Resource resource = (Resource) resources.get( value );
                  if ( resource instanceof ApplicationResource )
                  {
                     ApplicationResource appResource = (ApplicationResource) resource;
                     ApplicationHome     appHome =
                        (ApplicationHome) initialContext.lookup( ApplicationHome.HOME_LOCATION );
                     appHome.remove( aKey );
                     aResourceAdminHome.getResources(  ).remove( appResource.getID(  ) );
                  }
                  else if ( resource instanceof HostResource )
                  {
                     HostResource hostResource = (HostResource) resource;
View Full Code Here

Examples of org.apache.ws.muse.example.application.ApplicationHome

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

Examples of org.springframework.boot.ApplicationHome

  private String getLogBaseDir() {
    if (StringUtils.hasLength(this.jtaProperties.getLogDir())) {
      return this.jtaProperties.getLogDir();
    }
    File home = new ApplicationHome().getDir();
    return new File(home, "transaction-logs").getAbsolutePath();
  }
View Full Code Here

Examples of org.springframework.boot.ApplicationHome

  private File getLogBaseDir() {
    if (StringUtils.hasLength(this.jtaProperties.getLogDir())) {
      return new File(this.jtaProperties.getLogDir());
    }
    File home = new ApplicationHome().getDir();
    return new File(home, "transaction-logs");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.