|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.core.space.UrlSpaceConfigurer
public class UrlSpaceConfigurer
A simple configurer helper to create IJSpace
instances. The configurer wraps
UrlSpaceFactoryBean
and providing a simpler means
to configure it using code.
An example of using it:
UrlSpaceConfigurer urlSpaceConfigurer = new UrlSpaceConfigurer("/./space").schema("persistent") .noWriteLeaseMode(true).lookupGroups(new String[] {"kimchy"}); ... urlSpaceConfigurer.destroy(); // optional
Constructor Summary | |
---|---|
UrlSpaceConfigurer(String url)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlSpaceConfigurer(String url)
Method Detail |
---|
public UrlSpaceConfigurer addParameter(String name, String value)
UrlSpaceFactoryBean.setParameters(java.util.Map)
public UrlSpaceConfigurer addProperty(String name, String value)
UrlSpaceFactoryBean.setProperties(java.util.Properties)
public UrlSpaceConfigurer addProperties(Properties properties)
UrlSpaceFactoryBean.setProperties(java.util.Properties)
public UrlSpaceConfigurer addUrlProperty(String name, String value)
UrlSpaceFactoryBean.setUrlProperties(java.util.Properties)
public UrlSpaceConfigurer schema(String schema)
UrlSpaceFactoryBean.setSchema(String)
@Deprecated public UrlSpaceConfigurer fifo(boolean fifo)
FifoSupport
instead.
UrlSpaceFactoryBean.setFifo(boolean)
public UrlSpaceConfigurer lookupGroups(String lookupGroups)
UrlSpaceFactoryBean.setLookupGroups(String)
public UrlSpaceConfigurer lookupGroups(String... lookupGroups)
UrlSpaceFactoryBean.setLookupGroups(String)
public UrlSpaceConfigurer lookupLocators(String lookupLocators)
UrlSpaceFactoryBean.setLookupLocators(String)
public UrlSpaceConfigurer lookupLocators(String... lookupLocators)
UrlSpaceFactoryBean.setLookupLocators(String)
public UrlSpaceConfigurer lookupTimeout(int lookupTimeout)
UrlSpaceFactoryBean.setLookupTimeout(Integer)
public UrlSpaceConfigurer versioned(boolean versioned)
UrlSpaceFactoryBean.setVersioned(boolean)
public UrlSpaceConfigurer noWriteLease(boolean noWriteLease)
UrlSpaceFactoryBean.setNoWriteLease(boolean)
public UrlSpaceConfigurer mirror(boolean mirror)
UrlSpaceFactoryBean.setMirror(boolean)
public UrlSpaceConfigurer addFilterProvider(FilterProviderFactory filterProviderFactory)
UrlSpaceFactoryBean.setFilterProviders(org.openspaces.core.space.filter.FilterProviderFactory[])
public UrlSpaceConfigurer addSpaceType(SpaceTypeDescriptor spaceType)
UrlSpaceFactoryBean.setSpaceTypes(SpaceTypeDescriptor[])
public UrlSpaceConfigurer replicationFilterProvider(ReplicationFilterProviderFactory replicationFilterProvider)
UrlSpaceFactoryBean.setReplicationFilterProvider(org.openspaces.core.space.filter.replication.ReplicationFilterProviderFactory)
public UrlSpaceConfigurer externalDataSource(ManagedDataSource externalDataSource)
UrlSpaceFactoryBean.setExternalDataSource(com.gigaspaces.datasource.ManagedDataSource)
public UrlSpaceConfigurer spaceDataSource(SpaceDataSource spaceDataSource)
UrlSpaceFactoryBean.setSpaceDataSource(SpaceDataSource)
public UrlSpaceConfigurer spaceSynchronizationEndpoint(SpaceSynchronizationEndpoint synchronizationEndpoint)
public UrlSpaceConfigurer cachePolicy(CachePolicy cachePolicy)
UrlSpaceFactoryBean.setCachePolicy(CachePolicy)
public UrlSpaceConfigurer clusterInfo(ClusterInfo clusterInfo)
UrlSpaceFactoryBean.setClusterInfo(org.openspaces.core.cluster.ClusterInfo)
public UrlSpaceConfigurer registerForSpaceModeNotifications(boolean registerForSpaceMode)
AbstractSpaceFactoryBean.setRegisterForSpaceModeNotifications(boolean)
public UrlSpaceConfigurer secured(boolean secured)
UrlSpaceFactoryBean.setSecured(boolean)
@Deprecated public UrlSpaceConfigurer userDetails(String userName, String password)
credentials(String, String)
instead.
@Deprecated public UrlSpaceConfigurer userDetails(UserDetails userDetails)
credentialsProvider(CredentialsProvider)
instead.
public UrlSpaceConfigurer credentials(String userName, String password)
public UrlSpaceConfigurer credentialsProvider(CredentialsProvider credentialsProvider)
public UrlSpaceConfigurer securityConfig(SecurityConfig securityConfig)
AbstractSpaceFactoryBean.setSecurityConfig(SecurityConfig)
public UrlSpaceConfigurer primaryBackupListener(com.gigaspaces.cluster.activeelection.ISpaceModeListener primaryBackupListener)
public IJSpace create()
AbstractSpaceFactoryBean.afterPropertiesSet()
.
public IJSpace space()
AbstractSpaceFactoryBean.afterPropertiesSet()
.
space
in interface SpaceConfigurer
create()
public void destroy() throws Exception
AbstractSpaceFactoryBean.destroy()
.
Exception
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |