クラス ControllerEndpointDiscoverer
java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<ExposableControllerEndpoint,Operation>
org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointDiscoverer
- 実装済みのインターフェース一覧:
EndpointsSupplier<ExposableControllerEndpoint>,ControllerEndpointsSupplier
@ImportRuntimeHints(org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointDiscoverer.ControllerEndpointDiscovererRuntimeHints.class)
public class ControllerEndpointDiscoverer
extends EndpointDiscoverer<ExposableControllerEndpoint,Operation>
implements ControllerEndpointsSupplier
- 導入:
- 2.0.0
- 作成者:
- Phillip Webb
Nested Class Summary
クラス org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer から継承されたネストクラス / インターフェース
EndpointDiscoverer.OperationKeyコンストラクター概要
コンストラクターコンストラクター説明ControllerEndpointDiscoverer(ApplicationContext applicationContext, ListSE<PathMapper> endpointPathMappers, CollectionSE<EndpointFilter<ExposableControllerEndpoint>> filters) 新しいControllerEndpointDiscovererインスタンスを作成します。方法の概要
修飾子と型メソッド説明protected ExposableControllerEndpointcreateEndpoint(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<Operation> operations) endpointを作成するために呼び出されるファクトリメソッド。protected OperationcreateOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker) endpoint operationを作成するファクトリメソッド。protected EndpointDiscoverer.OperationKeycreateOperationKey(Operation operation) 指定された操作のEndpointDiscoverer.OperationKeyを作成します。protected booleanisEndpointTypeExposed(ClassSE<?> beanType) エンドポイント 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
コンストラクターの詳細
ControllerEndpointDiscoverer
public ControllerEndpointDiscoverer(ApplicationContext applicationContext, ListSE<PathMapper> endpointPathMappers, CollectionSE<EndpointFilter<ExposableControllerEndpoint>> filters) 新しいControllerEndpointDiscovererインスタンスを作成します。- パラメーター:
applicationContext- ソースアプリケーションコンテキストendpointPathMappers- エンドポイントパスマッパーfilters- 適用するフィルター
メソッドの詳細
isEndpointTypeExposed
クラスからコピーされた説明:EndpointDiscovererエンドポイント Bean を公開するかどうかを決定します。サブクラスはこのメソッドをオーバーライドして、追加のロジックを提供できます。- オーバーライド:
- クラス
EndpointDiscoverer<ExposableControllerEndpoint,のOperation> isEndpointTypeExposed - パラメーター:
beanType- エンドポイント Bean 型- 戻り値:
- エンドポイントが公開されている場合は
true
createEndpoint
protected ExposableControllerEndpoint createEndpoint(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<Operation> operations) クラスからコピーされた説明:EndpointDiscovererendpointを作成するために呼び出されるファクトリメソッド。- 次で指定:
- クラス
EndpointDiscoverer<ExposableControllerEndpoint,のOperation> createEndpoint - パラメーター:
endpointBean- ソースエンドポイント Beanid- エンドポイントの IDenabledByDefault- エンドポイントがデフォルトで有効になっている場合operations- エンドポイント操作- 戻り値:
- 作成されたエンドポイント (
DiscoveredEndpointが推奨されます)
createOperation
protected Operation createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker) クラスからコピーされた説明:EndpointDiscovererendpoint operationを作成するファクトリメソッド。- 次で指定:
- クラス
EndpointDiscoverer<ExposableControllerEndpoint,のOperation> createOperation - パラメーター:
endpointId- エンドポイント IDoperationMethod- 操作方法invoker- 使用する呼び出し元- 戻り値:
- 作成された操作
createOperationKey
クラスからコピーされた説明:EndpointDiscoverer指定された操作のEndpointDiscoverer.OperationKeyを作成します。- 次で指定:
- クラス
EndpointDiscoverer<ExposableControllerEndpoint,のOperation> createOperationKey - パラメーター:
operation- ソース操作- 戻り値:
- 操作キー