org.apache.avalon.repository.data
Class FactoryDirective

java.lang.Object
  extended byorg.apache.avalon.repository.data.FactoryDirective
All Implemented Interfaces:
Serializable

public class FactoryDirective
extends Object
implements Serializable

A FactoryDirective combines a artifact with a set of properties to be applied to the factory criteria.

Version:
$Revision: 1.1 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
FactoryDirective(Artifact artifact, Properties properties)
          Creates a new FactoryDirective.
 
Method Summary
 Artifact getArtifact()
          Return the system artifact.
 Properties getProperties()
          Return the factory properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryDirective

public FactoryDirective(Artifact artifact,
                        Properties properties)
Creates a new FactoryDirective.

Parameters:
artifact - the factory artifact
properties - the associated properties
Method Detail

getArtifact

public Artifact getArtifact()
Return the system artifact.

Returns:
the factory artifact reference

getProperties

public Properties getProperties()
Return the factory properties.

Returns:
the factory properties.


Copyright © The Apache Software Foundation. All Rights Reserved.