org.italiangrid.voms.request.impl
public static class DefaultVOMSServerInfoStore.Builder extends Object
DefaultVOMSServerInfoStore
. The
DefaultVOMSServerInfoStore
parameters can be set with the
appropriate methods. Example:
{ @code VOMSServerInfoStore serverInfoStore = new DefaultVOMSServerInfoStore.Builder() .storeListener(storeListener).vomsesPaths(vomsesLocations).build(); };
Constructor and Description |
---|
DefaultVOMSServerInfoStore.Builder() |
Modifier and Type | Method and Description |
---|---|
DefaultVOMSServerInfoStore |
build()
Builds the
DefaultVOMSServerInfoStore |
DefaultVOMSServerInfoStore.Builder |
lookupStrategy(VOMSESLookupStrategy strategy)
Sets the
VOMSESLookupStrategy that will be used to lookup vomses
information for the DefaultVOMSServerInfoStore that this builder
is creating |
DefaultVOMSServerInfoStore.Builder |
storeListener(VOMSServerInfoStoreListener l)
Sets the
VOMSServerInfoStoreListener that will receive
store-related notifications for the DefaultVOMSServerInfoStore
that this builder is creating |
DefaultVOMSServerInfoStore.Builder |
vomsesParser(VOMSESParser p)
Sets the
VOMSESParser implementation that will be used to parse
vomses files |
DefaultVOMSServerInfoStore.Builder |
vomsesPaths(List<String> paths)
Sets a list of paths where vomses files will be looked up by the
DefaultVOMSServerInfoStore that this builder is creating |
public DefaultVOMSServerInfoStore.Builder lookupStrategy(VOMSESLookupStrategy strategy)
VOMSESLookupStrategy
that will be used to lookup vomses
information for the DefaultVOMSServerInfoStore
that this builder
is creatingstrategy
- The strategy that will be used to lookup vomses informationDefaultVOMSServerInfoStore.Builder
instancepublic DefaultVOMSServerInfoStore.Builder storeListener(VOMSServerInfoStoreListener l)
VOMSServerInfoStoreListener
that will receive
store-related notifications for the DefaultVOMSServerInfoStore
that this builder is creatingl
- the listenerDefaultVOMSServerInfoStore.Builder
instancepublic DefaultVOMSServerInfoStore.Builder vomsesParser(VOMSESParser p)
VOMSESParser
implementation that will be used to parse
vomses filesp
- the parserDefaultVOMSServerInfoStore.Builder
instancepublic DefaultVOMSServerInfoStore.Builder vomsesPaths(List<String> paths)
DefaultVOMSServerInfoStore
that this builder is creatingpaths
- a list of pathsDefaultVOMSServerInfoStore.Builder
instancepublic DefaultVOMSServerInfoStore build()
DefaultVOMSServerInfoStore
DefaultVOMSServerInfoStore
configured as required by
this builderCopyright © 2014. All rights reserved.