blob: 564544c0b053c03e1b228332a371009915ae9001 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.axis2.jaxws.description;
/**
* A OperationRuntimeDescription object contains immutable data that is needed during the runtime
* (i.e. to cache marshal and demarshal information). The OperationRuntimeDescription object must
* be immutable so that it can safely accessed by multiple theads without synchronization.
* <p/>
* It cannot be used to store information that may not be available in different threads/
* classloaders (i.e. it cannot have references to Class objects)
* <p/>
* The actual OperationRuntimeDescription objects are accessed via the key.
*/
public interface OperationRuntimeDescription {
/** @return OperationDesc parent */
public OperationDescription getOperationDescription();
/** @return String (i.e. JAXWS) */
public String getKey();
}