クラス ServletEndpointDiscoverer
java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<ExposableServletEndpoint,Operation>
org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointDiscoverer
- 実装されたすべてのインターフェース:
EndpointsSupplier<ExposableServletEndpoint>
,ServletEndpointsSupplier
@ImportRuntimeHints(org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointDiscoverer.ServletEndpointDiscovererRuntimeHints.class)
@DeprecatedSE(since="3.3.0",
forRemoval=true)
public class ServletEndpointDiscoverer
extends EndpointDiscoverer<ExposableServletEndpoint,Operation>
implements ServletEndpointsSupplier
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
- 導入:
- 2.0.0
- 作成者:
- Phillip Webb
ネストされたクラスのサマリー
クラス org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer から継承されたネストクラス / インターフェース
EndpointDiscoverer.OperationKey
コンストラクターの概要
コンストラクターコンストラクター説明ServletEndpointDiscoverer
(ApplicationContext applicationContext, ListSE<PathMapper> endpointPathMappers, CollectionSE<EndpointFilter<ExposableServletEndpoint>> filters) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。新しいServletEndpointDiscoverer
インスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明protected ExposableServletEndpoint
createEndpoint
(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<Operation> operations) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。endpoint
を作成するために呼び出されるファクトリメソッド。protected Operation
createOperation
(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。endpoint operation
を作成するファクトリメソッド。protected EndpointDiscoverer.OperationKey
createOperationKey
(Operation operation) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定された操作のEndpointDiscoverer.OperationKey
を作成します。protected boolean
isEndpointTypeExposed
(ClassSE<?> beanType) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。エンドポイント Bean を公開するかどうかを決定します。クラス org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer から継承されたメソッド
getEndpoints, getEndpointType, isExtensionTypeExposed
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.boot.actuate.endpoint.EndpointsSupplier から継承されたメソッド
getEndpoints
コンストラクターの詳細
ServletEndpointDiscoverer
public ServletEndpointDiscoverer(ApplicationContext applicationContext, ListSE<PathMapper> endpointPathMappers, CollectionSE<EndpointFilter<ExposableServletEndpoint>> filters) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。新しいServletEndpointDiscoverer
インスタンスを作成します。- パラメーター:
applicationContext
- ソースアプリケーションコンテキストendpointPathMappers
- エンドポイントパスマッパーfilters
- 適用するフィルター
メソッドの詳細
isEndpointTypeExposed
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。クラスからコピーされた説明:EndpointDiscoverer
エンドポイント Bean を公開するかどうかを決定します。サブクラスはこのメソッドをオーバーライドして、追加のロジックを提供できます。- オーバーライド:
- クラス
EndpointDiscoverer<ExposableServletEndpoint,
のOperation> isEndpointTypeExposed
- パラメーター:
beanType
- エンドポイント Bean 型- 戻り値:
- エンドポイントが公開されている場合は
true
createEndpoint
protected ExposableServletEndpoint createEndpoint(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<Operation> operations) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。クラスからコピーされた説明:EndpointDiscoverer
endpoint
を作成するために呼び出されるファクトリメソッド。- 次で指定:
- クラス
EndpointDiscoverer<ExposableServletEndpoint,
のOperation> createEndpoint
- パラメーター:
endpointBean
- ソースエンドポイント Beanid
- エンドポイントの IDenabledByDefault
- エンドポイントがデフォルトで有効になっている場合operations
- エンドポイント操作- 戻り値:
- 作成されたエンドポイント (
DiscoveredEndpoint
が推奨されます)
createOperation
protected Operation createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。クラスからコピーされた説明:EndpointDiscoverer
endpoint operation
を作成するファクトリメソッド。- 次で指定:
- クラス
EndpointDiscoverer<ExposableServletEndpoint,
のOperation> createOperation
- パラメーター:
endpointId
- エンドポイント IDoperationMethod
- 操作方法invoker
- 使用する呼び出し元- 戻り値:
- 作成された操作
createOperationKey
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。クラスからコピーされた説明:EndpointDiscoverer
指定された操作のEndpointDiscoverer.OperationKey
を作成します。- 次で指定:
- クラス
EndpointDiscoverer<ExposableServletEndpoint,
のOperation> createOperationKey
- パラメーター:
operation
- ソース操作- 戻り値:
- 操作キー
@Endpoint
と@WebEndpoint
に有利であるため