org.ow2.util.plan.bindings.repository
Class ExtendedRepository

java.lang.Object
  extended by org.ow2.util.plan.bindings.repository.Repository
      extended by org.ow2.util.plan.bindings.repository.ExtendedRepository
All Implemented Interfaces:
Serializable

public class ExtendedRepository
extends Repository

Actual Repository class that will be used by the JAXB2 unmarshaller.

Author:
Mickael LEDUQUE
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ow2.util.plan.bindings.repository.Repository
id, type, url
 
Constructor Summary
ExtendedRepository()
          Default constructor.
 
Method Summary
protected  ISubstitutionEngine createSubstitutionEngine()
          Build a new Substitution engine.
 String getUrl()
          If the value contains some properties, resolve them and update them.
 String toString()
          
 
Methods inherited from class org.ow2.util.plan.bindings.repository.Repository
getId, getType, setId, setType, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedRepository

public ExtendedRepository()
Default constructor.

Method Detail

createSubstitutionEngine

protected ISubstitutionEngine createSubstitutionEngine()
Build a new Substitution engine.

Returns:
the substituion engine that will be used for variable value resolution.

toString

public String toString()

Overrides:
toString in class Object

getUrl

public String getUrl()
If the value contains some properties, resolve them and update them.

Overrides:
getUrl in class Repository
Returns:
URL with the updated value if any


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.