View Javadoc
1   /*
2    * Copyright 2001-2009 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  package org.apache.juddi.api_v3;
18  
19  /**
20   * Provides a basic enumeration of the predefinied useType values for UDDI service/bindingTemplates/accessPoints/useType
21   * @author unknown
22   */
23  public enum AccessPointType {
24  	/**
25           *  endPoint: designates that the accessPoint points to the actual service endpoint, i.e. the network address at which the Web service can be invoked,
26           */
27  	END_POINT ("endPoint"),
28          /**
29           *  bindingTemplate: designates that the accessPoint contains a bindingKey that points to a different bindingTemplate entry. The value in providing this facility is seen when a business or entity wants to expose a service description (e.g. advertise that they have a service available that suits a specific purpose) that is actually a service that is described in a separate bindingTemplate record. This might occur when many service descriptions could benefit from a single service description,
30           */
31  	BINDING_TEMPLATE("bindingTemplate"),
32          /**
33           * hostingRedirector: designates that the accessPoint can only be determined by querying another UDDI registry.  This might occur when a service is remotely hosted.
34           */
35  	HOSTING_REDIRECTOR("hostingDirector"),
36          /**
37           * wsdlDeployment: designates that the accessPoint points to a remotely hosted WSDL document that already contains the necessary binding information, including the actual service endpoint.
38           *  The bindingTemplate of a Web service making use of indirection via a hostingRedirector Web service contains the bindingKey of the hosting redirector service’s bindingTemplate.  The hosting redirector’s bindingTemplate contains the accessPoint of the Hosting Redirector Web service
39           */
40  	WSDL_DEPLOYMENT ("wsdlDeployment");
41  	
42  	final String type;
43  
44  	private AccessPointType(String type) {
45  		this.type = type;
46  	}
47  	
48   	public String toString() {
49  		return type;	
50  	}
51  	
52  }