クラス WebEndpointDiscoverer
java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<ExposableWebEndpoint,WebOperation>
org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer
- 実装済みのインターフェース一覧:
EndpointsSupplier<ExposableWebEndpoint>,WebEndpointsSupplier
- 既知の直属サブクラス
CloudFoundryWebEndpointDiscoverer
@ImportRuntimeHints(org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer.WebEndpointDiscovererRuntimeHints.class)
public class WebEndpointDiscoverer
extends EndpointDiscoverer<ExposableWebEndpoint,WebOperation>
implements WebEndpointsSupplier
- 導入:
- 2.0.0
- 作成者:
- Phillip Webb
Nested Class Summary
クラス org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer から継承されたネストクラス / インターフェース
EndpointDiscoverer.OperationKeyコンストラクター概要
コンストラクターコンストラクター説明WebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, ListSE<PathMapper> endpointPathMappers, CollectionSE<OperationInvokerAdvisor> invokerAdvisors, CollectionSE<EndpointFilter<ExposableWebEndpoint>> filters) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。WebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, ListSE<PathMapper> endpointPathMappers, ListSE<AdditionalPathsMapper> additionalPathsMappers, CollectionSE<OperationInvokerAdvisor> invokerAdvisors, CollectionSE<EndpointFilter<ExposableWebEndpoint>> endpointFilters, CollectionSE<OperationFilter<WebOperation>> operationFilters) 新しいWebEndpointDiscovererインスタンスを作成します。方法の概要
修飾子と型メソッド説明protected ExposableWebEndpointcreateEndpoint(ObjectSE endpointBean, EndpointId id, Access defaultAccess, CollectionSE<WebOperation> operations) endpointを作成するために呼び出されるファクトリメソッド。protected WebOperationcreateOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker) endpoint operationを作成するファクトリメソッド。protected EndpointDiscoverer.OperationKeycreateOperationKey(WebOperation operation) 指定された操作のEndpointDiscoverer.OperationKeyを作成します。クラス org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer から継承されたメソッド
createEndpoint, getEndpoints, getEndpointType, isEndpointTypeExposed, isExtensionTypeExposed, isInvocableクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.boot.actuate.endpoint.EndpointsSupplier から継承されたメソッド
getEndpoints
コンストラクターの詳細
WebEndpointDiscoverer
@DeprecatedSE(since="3.4.0", forRemoval=true) public WebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, ListSE<PathMapper> endpointPathMappers, CollectionSE<OperationInvokerAdvisor> invokerAdvisors, CollectionSE<EndpointFilter<ExposableWebEndpoint>> filters) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。新しいWebEndpointDiscovererインスタンスを作成します。- パラメーター:
applicationContext- ソースアプリケーションコンテキストparameterValueMapper- パラメーター値マッパーendpointMediaTypes- エンドポイントメディア型endpointPathMappers- エンドポイントパスマッパーinvokerAdvisors- 適用する呼び出し元アドバイザーfilters- 適用するフィルター
WebEndpointDiscoverer
public WebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, ListSE<PathMapper> endpointPathMappers, ListSE<AdditionalPathsMapper> additionalPathsMappers, CollectionSE<OperationInvokerAdvisor> invokerAdvisors, CollectionSE<EndpointFilter<ExposableWebEndpoint>> endpointFilters, CollectionSE<OperationFilter<WebOperation>> operationFilters) 新しいWebEndpointDiscovererインスタンスを作成します。- パラメーター:
applicationContext- ソースアプリケーションコンテキストparameterValueMapper- パラメーター値マッパーendpointMediaTypes- エンドポイントメディア型endpointPathMappers- エンドポイントパスマッパーadditionalPathsMappers-invokerAdvisors- 適用する呼び出し元アドバイザーendpointFilters- 適用するエンドポイントフィルターoperationFilters- 適用する操作フィルター- 導入:
- 3.4.0
メソッドの詳細
createEndpoint
protected ExposableWebEndpoint createEndpoint(ObjectSE endpointBean, EndpointId id, Access defaultAccess, CollectionSE<WebOperation> operations) クラスからコピーされた説明:EndpointDiscovererendpointを作成するために呼び出されるファクトリメソッド。- 次で指定:
- クラス
EndpointDiscoverer<ExposableWebEndpoint,のWebOperation> createEndpoint - パラメーター:
endpointBean- ソースエンドポイント Beanid- エンドポイントの IDdefaultAccess- デフォルトで許可されているエンドポイントへのアクセスoperations- エンドポイント操作- 戻り値:
- 作成されたエンドポイント (
DiscoveredEndpointが推奨されます)
createOperation
protected WebOperation createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker) クラスからコピーされた説明:EndpointDiscovererendpoint operationを作成するファクトリメソッド。- 次で指定:
- クラス
EndpointDiscoverer<ExposableWebEndpoint,のWebOperation> createOperation - パラメーター:
endpointId- エンドポイント IDoperationMethod- 操作方法invoker- 使用する呼び出し元- 戻り値:
- 作成された操作
createOperationKey
クラスからコピーされた説明:EndpointDiscoverer指定された操作のEndpointDiscoverer.OperationKeyを作成します。- 次で指定:
- クラス
EndpointDiscoverer<ExposableWebEndpoint,のWebOperation> createOperationKey - パラメーター:
operation- ソース操作- 戻り値:
- 操作キー
WebEndpointDiscoverer(ApplicationContext, ParameterValueMapper, EndpointMediaTypes, List, List, Collection, Collection, Collection)を推奨