Examples of endpoint()


Examples of org.jacorb.orb.iiop.IIOPListener.endpoint()

    public String getAddress()
    {
        IIOPListener l = getIIOPListener();
        if (l != null)
        {
            IIOPProfile profile = (IIOPProfile)l.endpoint();
            return ((IIOPAddress)profile.getAddress()).getHostname();
        }

        throw new RuntimeException("Cannot find server address for non-IIOP transport");
    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPListener.endpoint()

    public int getPort()
    {
        IIOPListener l = getIIOPListener();
        if (l != null)
        {
            IIOPProfile profile = (IIOPProfile)l.endpoint();
            return ((IIOPAddress)profile.getAddress()).getPort();
        }
        else
        {
            throw new RuntimeException
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPListener.endpoint()

    public int getSSLPort()
    {
        IIOPListener l = getIIOPListener();
        if (l != null)
        {
            IIOPProfile profile = (IIOPProfile)l.endpoint();
            return profile.getSSLPort();
        }
        else
        {
            throw new RuntimeException
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPListener.endpoint()

    public String getAddress()
    {
        IIOPListener l = getIIOPListener();
        if (l != null)
        {
            IIOPProfile profile = (IIOPProfile)l.endpoint();
            return ((IIOPAddress)profile.getAddress()).getHostname();
        }
        else
        {
            throw new RuntimeException
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPListener.endpoint()

    public int getPort()
    {
        IIOPListener l = getIIOPListener();
        if (l != null)
        {
            IIOPProfile profile = (IIOPProfile)l.endpoint();
            return ((IIOPAddress)profile.getAddress()).getPort();
        }

        throw new RuntimeException("Cannot find server port for non-IIOP transport");
    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPListener.endpoint()

    public int getSSLPort()
    {
        IIOPListener listener = getIIOPListener();
        if (listener != null)
        {
            return ((IIOPProfile)listener.endpoint()).getSSLPort();
        }

        throw new RuntimeException("Non-IIOP transport does not have an SSL port");
    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPListener.endpoint()

    public String getAddress()
    {
        IIOPListener l = getIIOPListener();
        if (l != null)
        {
            IIOPProfile profile = (IIOPProfile)l.endpoint();
            return ((IIOPAddress)profile.getAddress()).getHostname();
        }

        throw new RuntimeException("Cannot find server address for non-IIOP transport");
    }
View Full Code Here

Examples of org.jclouds.ContextBuilder.endpoint()

        if (apiMetadata != null) {
            builder = ContextBuilder.newBuilder(apiMetadata).overrides(chefConfig);
        }

        if (!Strings.isNullOrEmpty(endpoint)) {
            builder = builder.endpoint(endpoint);
        }

        builder = builder.name(name).modules(ImmutableSet.<Module>of(new SLF4JLoggingModule()));
        builder = builder.name(name).credentials(clientName, clientCredential).overrides(chefConfig);
View Full Code Here

Examples of org.jclouds.ContextBuilder.endpoint()

        ContextBuilder contextBuilder = ContextBuilder.newBuilder(profile.getProvider());

        if (profile.getProvider().equals(PROVIDER_FILESYSTEM)) {
          // use endpoint as fs basedir, see: http://code.google.com/p/jclouds/issues/detail?id=776
          properties.setProperty(FilesystemConstants.PROPERTY_BASEDIR, profile.getEndpoint());
          contextBuilder.endpoint(profile.getEndpoint());
          //properties.setProperty(PROPERTY_CREDENTIAL, "dummy");
        } else if (BLOBSTORE_PROVIDERS.contains(profile.getProvider())) {
          if (profile.getEndpoint() != null) {
            contextBuilder.endpoint(profile.getEndpoint());
          }
View Full Code Here

Examples of org.jclouds.ContextBuilder.endpoint()

          properties.setProperty(FilesystemConstants.PROPERTY_BASEDIR, profile.getEndpoint());
          contextBuilder.endpoint(profile.getEndpoint());
          //properties.setProperty(PROPERTY_CREDENTIAL, "dummy");
        } else if (BLOBSTORE_PROVIDERS.contains(profile.getProvider())) {
          if (profile.getEndpoint() != null) {
            contextBuilder.endpoint(profile.getEndpoint());
          }
          if (profile.getApiversion() != null) {
            contextBuilder.apiVersion(profile.getApiversion());
          }
          if (profile.getIdentity() != null && profile.getCredential() != null) {
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.