org.jboss.webbeans.context
Class DependentStorageRequest

java.lang.Object
  extended by org.jboss.webbeans.context.DependentStorageRequest

public class DependentStorageRequest
extends java.lang.Object

A dependent instance store and storage key combination for selecting the correct receiving store and holding key for dependent instances in the dependent context

Author:
Nicklas Karlsson

Constructor Summary
protected DependentStorageRequest(DependentInstancesStore dependentInstancesStore, java.lang.Object key)
          Create a new DependentStoreKey
 
Method Summary
 boolean equals(java.lang.Object other)
           
 DependentInstancesStore getDependentInstancesStore()
          Gets the store
 java.lang.Object getKey()
          Gets the key
static DependentStorageRequest of(DependentInstancesStore dependentInstancesStore, java.lang.Object key)
          Static factory method
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependentStorageRequest

protected DependentStorageRequest(DependentInstancesStore dependentInstancesStore,
                                  java.lang.Object key)
Create a new DependentStoreKey

Parameters:
dependentInstancesStore - The dependent instances store
key - The storage key
Method Detail

of

public static DependentStorageRequest of(DependentInstancesStore dependentInstancesStore,
                                         java.lang.Object key)
Static factory method

Parameters:
scopeType - The scope type of the dependent instances store
key - The storage key
Returns:
A new DependentStoreKey

getDependentInstancesStore

public DependentInstancesStore getDependentInstancesStore()
Gets the store

Returns:
The store

getKey

public java.lang.Object getKey()
Gets the key

Returns:
The key

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object


Copyright © 2011. All Rights Reserved.