Package com.sun.jini.start

Examples of com.sun.jini.start.ServiceDescriptor


      throw new TestException("Could not delete shared group directory: "
            + sharedGroupLog);
  }
  config.registerDeletion(sharedGroupLog);
  try {
      ServiceDescriptor desc =
    new SharedActivationGroupDescriptor(
               getServicePolicyFile(),
               getServiceClasspath(),
               sharedGroupLog.getAbsolutePath(),
               getServiceJVM(),
               getServiceOptions(),
               getServiceProperties(),
               getActivationHost(),
               getActivationPort());
      Configuration starterConfig = getStarterConfiguration();
      logServiceParameters(); // log debug output
      desc.create(starterConfig);
      String groupImpl = getMandatoryParameter("implPrefix");
      ActivatableServiceStarterAdmin implAdmin =
    new ActivatableServiceStarterAdmin(config,
               groupImpl,
               index,
View Full Code Here


public class ITWebsterTest {

    @Test
    public void createWebsterFromServiceDescriptor() {
        Throwable t = null;
        ServiceDescriptor desc = null;
        Assert.assertNotNull(System.getProperty("java.security.policy"));
        String webster = System.getProperty("WEBSTER_JAR");
        Assert.assertNotNull(webster);
        try {
            desc = ServiceDescriptorUtil.getWebster(System.getProperty("java.security.policy"),
View Full Code Here

    }

    @Test
    public void createWebsterFromServiceDescriptorWithPortRange() {
        Throwable t = null;
        ServiceDescriptor desc = null;
        Assert.assertNotNull(System.getProperty("java.security.policy"));
        String webster = System.getProperty("WEBSTER_JAR");
        Assert.assertNotNull(webster);
        try {
            desc = ServiceDescriptorUtil.getWebster(System.getProperty("java.security.policy"),
View Full Code Here

TOP

Related Classes of com.sun.jini.start.ServiceDescriptor

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.