org.apache.felix.servicebinder.architecture
Interface Instance

All Known Implementing Classes:
InstanceManager

public interface Instance

Author:
Felix Project Team

Field Summary
static int INSTANCE_CREATED
           
static int INSTANCE_DESTROYED
           
static int INSTANCE_INVALID
           
static int INSTANCE_VALID
           
 
Method Summary
 long getBundleId()
          Get the bundle
 Instance[] getChildInstances()
          Get a list of child instances in case this instance is a factory
 Dependency[] getDependencies()
          Get a list of depenencies
 InstanceMetadata getInstanceMetadata()
          Get the instance metadata
 int getState()
          Get the state of the instance
 

Field Detail

INSTANCE_CREATED

static final int INSTANCE_CREATED
See Also:
Constant Field Values

INSTANCE_VALID

static final int INSTANCE_VALID
See Also:
Constant Field Values

INSTANCE_INVALID

static final int INSTANCE_INVALID
See Also:
Constant Field Values

INSTANCE_DESTROYED

static final int INSTANCE_DESTROYED
See Also:
Constant Field Values
Method Detail

getState

int getState()
Get the state of the instance

Returns:
an integer representing the state of the instance

getBundleId

long getBundleId()
Get the bundle

Returns:
an integer with the bundle id

getDependencies

Dependency[] getDependencies()
Get a list of depenencies

Returns:
a List containing all of the dependencies

getChildInstances

Instance[] getChildInstances()
Get a list of child instances in case this instance is a factory

Returns:
a List containing all of the child instances

getInstanceMetadata

InstanceMetadata getInstanceMetadata()
Get the instance metadata

Returns:
the isntance metadata


Copyright © 2011 Apache Software Foundation. All Rights Reserved.