E
- エンドポイント型 O
- 操作型 public abstract class EndpointDiscoverer<E extends ExposableEndpoint<O>,O extends Operation> extends ObjectSE implements EndpointsSupplier<E>
修飾子と型 | クラスと説明 |
---|---|
protected static class | EndpointDiscoverer.OperationKey 実際の操作の実装からの特定の条件に基づいて Operation 用に生成されたキー。 |
コンストラクターと説明 |
---|
EndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, CollectionSE<OperationInvokerAdvisor> invokerAdvisors, CollectionSE<EndpointFilter<E>> filters) 新しい EndpointDiscoverer インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected abstract E | createEndpoint(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<O> operations) endpoint を作成するために呼び出されるファクトリメソッド。 |
protected abstract O | createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker) endpoint operation を作成するファクトリメソッド。 |
protected abstract EndpointDiscoverer.OperationKey | createOperationKey(O operation) 指定された操作の EndpointDiscoverer.OperationKey を作成します。 |
CollectionSE<E> | getEndpoints() 提供されたエンドポイントを返します。 |
protected ClassSE<? extends E> | getEndpointType() |
protected boolean | isEndpointTypeExposed(ClassSE<?> beanType) エンドポイント Bean を公開するかどうかを決定します。 |
protected boolean | isExtensionTypeExposed(ClassSE<?> extensionBeanType) 拡張 Bean を公開するかどうかを決定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public EndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, CollectionSE<OperationInvokerAdvisor> invokerAdvisors, CollectionSE<EndpointFilter<E>> filters)
EndpointDiscoverer
インスタンスを作成します。applicationContext
- ソースアプリケーションコンテキスト parameterValueMapper
- パラメーター値マッパー invokerAdvisors
- 適用する呼び出し元アドバイザー filters
- 適用するフィルター public final CollectionSE<E> getEndpoints()
EndpointsSupplier
EndpointsSupplier<E extends ExposableEndpoint<O>>
の getEndpoints
protected boolean isExtensionTypeExposed(ClassSE<?> extensionBeanType)
extensionBeanType
- 拡張 Bean 型 true
protected boolean isEndpointTypeExposed(ClassSE<?> beanType)
beanType
- エンドポイント Bean 型 true
protected abstract E createEndpoint(ObjectSE endpointBean, EndpointId id, boolean enabledByDefault, CollectionSE<O> operations)
endpoint
を作成するために呼び出されるファクトリメソッド。endpointBean
- ソースエンドポイント Beanid
- エンドポイントの IDenabledByDefault
- エンドポイントがデフォルトで有効になっている場合 operations
- エンドポイント操作 DiscoveredEndpoint
が推奨されます)protected abstract O createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker)
endpoint operation
を作成するファクトリメソッド。endpointId
- エンドポイント IDoperationMethod
- 操作方法 invoker
- 使用する呼び出し元 protected abstract EndpointDiscoverer.OperationKey createOperationKey(O operation)
EndpointDiscoverer.OperationKey
を作成します。operation
- ソース操作