org.glassfish.ha.store.adapter.cache
Class ShoalBackingStoreProxy

java.lang.Object
  extended by org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy
All Implemented Interfaces:
Startup, org.glassfish.ha.store.api.BackingStoreFactory, org.jvnet.hk2.component.PostConstruct

@Service(name="replicated")
public class ShoalBackingStoreProxy
extends java.lang.Object
implements Startup, org.jvnet.hk2.component.PostConstruct, org.glassfish.ha.store.api.BackingStoreFactory

Author:
Mahesh Kannan

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.api.Startup
Startup.Lifecycle
 
Constructor Summary
ShoalBackingStoreProxy()
           
 
Method Summary
<K extends java.io.Serializable,V extends java.io.Serializable>
org.glassfish.ha.store.api.BackingStore<K,V>
createBackingStore(org.glassfish.ha.store.api.BackingStoreConfiguration<K,V> conf)
           
 org.glassfish.ha.store.api.BackingStoreTransaction createBackingStoreTransaction()
           
 Startup.Lifecycle getLifecycle()
          Returns the lifecyle of the service.
 void postConstruct()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoalBackingStoreProxy

public ShoalBackingStoreProxy()
Method Detail

getLifecycle

public Startup.Lifecycle getLifecycle()
Returns the lifecyle of the service. This service may not be needed after startup -- we still need to determine how to load GMS when a gms-enabled cluster is first created during runtime. TODO: determine SERVER v START

Specified by:
getLifecycle in interface Startup

createBackingStore

public <K extends java.io.Serializable,V extends java.io.Serializable> org.glassfish.ha.store.api.BackingStore<K,V> createBackingStore(org.glassfish.ha.store.api.BackingStoreConfiguration<K,V> conf)
                                                                                                                          throws org.glassfish.ha.store.api.BackingStoreException
Specified by:
createBackingStore in interface org.glassfish.ha.store.api.BackingStoreFactory
Throws:
org.glassfish.ha.store.api.BackingStoreException

postConstruct

public void postConstruct()
Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct

createBackingStoreTransaction

public org.glassfish.ha.store.api.BackingStoreTransaction createBackingStoreTransaction()
Specified by:
createBackingStoreTransaction in interface org.glassfish.ha.store.api.BackingStoreFactory


Copyright © 2012 GlassFish Community. All Rights Reserved.