|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.taverna.raven.spi.ProfileFactory
public class ProfileFactory
A factory class for getting an instance of the Profile of the Taverna components according to the profile xml at the location defined by the system property taverna.profile. Once loaded it stores a copy locally which is used as a fallback should the defined location be innaccessible.
| Method Summary | |
|---|---|
static ProfileFactory |
getInstance()
Get the singleton ProfileFactory. |
Profile |
getProfile()
Get the current system profile as specified by system property raven.profile. |
boolean |
isProfileDefined()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ProfileFactory getInstance()
public Profile getProfile()
raven.profile. Subsequent calls will return the same
instance.
Profile instance, or null if an error occuredpublic boolean isProfileDefined()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||