org.apache.tuscany.sca.domain.manager.impl
Class NodeProcessCollectionFacadeImpl

java.lang.Object
  extended by org.apache.tuscany.sca.domain.manager.impl.NodeProcessCollectionFacadeImpl
All Implemented Interfaces:
Collection<java.lang.String,Item>, ItemCollection, LocalItemCollection

public class NodeProcessCollectionFacadeImpl
extends java.lang.Object
implements ItemCollection, LocalItemCollection

Implementation of a node process collection service.


Field Summary
 LocalItemCollection cloudCollection
           
 DomainManagerConfiguration domainManagerConfiguration
           
 ItemCollection processCollection
           
 
Constructor Summary
NodeProcessCollectionFacadeImpl()
           
 
Method Summary
 void delete(java.lang.String key)
          Delete an item.
 Item get(java.lang.String key)
          Retrieves an item.
 Entry<java.lang.String,Item>[] getAll()
          Get the whole collection.
 void initialize()
          Initialize the component.
 java.lang.String post(java.lang.String key, Item item)
          Creates a new item.
 void put(java.lang.String key, Item item)
          Updates an item.
 Entry<java.lang.String,Item>[] query(java.lang.String queryString)
          Returns a collection resulting from a query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cloudCollection

public LocalItemCollection cloudCollection

processCollection

public ItemCollection processCollection

domainManagerConfiguration

public DomainManagerConfiguration domainManagerConfiguration
Constructor Detail

NodeProcessCollectionFacadeImpl

public NodeProcessCollectionFacadeImpl()
Method Detail

initialize

public void initialize()
Initialize the component.


getAll

public Entry<java.lang.String,Item>[] getAll()
Description copied from interface: Collection
Get the whole collection.

Specified by:
getAll in interface Collection<java.lang.String,Item>
Returns:
the whole collection.

get

public Item get(java.lang.String key)
         throws NotFoundException
Description copied from interface: Collection
Retrieves an item.

Specified by:
get in interface Collection<java.lang.String,Item>
Returns:
Throws:
NotFoundException

post

public java.lang.String post(java.lang.String key,
                             Item item)
Description copied from interface: Collection
Creates a new item.

Specified by:
post in interface Collection<java.lang.String,Item>
Returns:

put

public void put(java.lang.String key,
                Item item)
         throws NotFoundException
Description copied from interface: Collection
Updates an item.

Specified by:
put in interface Collection<java.lang.String,Item>
Throws:
NotFoundException

delete

public void delete(java.lang.String key)
            throws NotFoundException
Description copied from interface: Collection
Delete an item.

Specified by:
delete in interface Collection<java.lang.String,Item>
Throws:
NotFoundException

query

public Entry<java.lang.String,Item>[] query(java.lang.String queryString)
Description copied from interface: Collection
Returns a collection resulting from a query.

Specified by:
query in interface Collection<java.lang.String,Item>
Returns:
the collection.