summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/utils
AgeCommit message (Collapse)Author
2014-10-07Repackage to org.cristaliseAndrew Branson
2014-10-03More FindBugs cleanupAndrew Branson
2014-10-03Rolled back the renaming of existing exceptions.Andrew Branson
2014-10-03Huge exception overhaul: Merged ClusterStorageException withAndrew Branson
PersistencyException. Replaced MembershipException with InvalidCollectionModification CORBA Exception. Made all predef steps throw more accurate exceptions when they go wrong, and let more exceptions bubble through from underneath.
2014-10-02push after rebasejet
2014-09-30Remove Serializable. CRISTAL never uses Java serialization, only Castor. Andrew Branson
2014-09-26More FindBugs recommendationsAndrew Branson
2014-09-26Remove unnecessary assignment of return array in XmlElementParserAndrew Branson
2014-09-26Store list of previously loaded URLs in CastorHashMap as Strings. URLsAndrew Branson
are inefficient.
2014-09-26Various problems found by FindBugsAndrew Branson
2014-09-23Removing HTTP and UDP serversZsolt Kovcs
2014-09-21Lost commits - NPE on ModuleResource.getVersion caused by badAndrew Branson
autoboxing, and Olivier's classloader tweaks.
2014-09-16Abstract properties. Activities cannot be instantiated unless the slotAndrew Branson
overrides them. Fixes #190
2014-09-15Add trim calls to ObjectProperties.getString() to discard any extraAndrew Branson
whitespace around the values. Fixes #165 Remove old Gateway.getProperty methods - there should be no deprecated methods in the 3.0 release Move all getProperty() calls to getString or other so they will be trimmed. Introduce ObjectProperties.getInstances to create ArrayLists of objects from comma-separated class name lists.
2014-08-28pull master devsogattaz
2014-07-24CastorXMLUtility enhancements to use specific classloader rather thanogattaz
the main one and to configure castor if needed
2014-07-23Move openldap files to ldap packageAndrew Branson
Mark execute(ItemProxy, Job) non-public - should not be part of API, Jobs are fixed to a particular Item. Check null on module manager before calling shutdown scripts during close(). Remove auto-generated lines in ObjectProperties
2014-07-04Refactored tanuki service wrapper to a separate moduleAndrew Branson
2014-06-19Restore lost exception messages in CastorXMLUtilityAndrew Branson
2014-06-05LDAP refactored behind interfaces. All functions of LDAP now hiddenAndrew Branson
behind interfaces: Authenticator, Lookup and NextKeyManager (LDAP property storage was already a ClusterStorage). Gateway holds additional objects, and Fixes #26 #191. Refs #27 (needs additional work for read perms and auth tokens)
2014-06-05ObjectProperties.getInstance() - if the property contains a String thenAndrew Branson
attempt to instantiate an object from that classname, otherwise return the object.
2014-05-22Renamed method in DescriptionObjectCache which still refered toAndrew Branson
activities.
2014-05-15Introduced 'Layer' attribute to allow overriding of descriptions. DescAndrew Branson
with the same name in the same description tree will be ranked by LocalObjectLoader according to this number, and the highest one chosen for instantiation. Fixes #188
2014-05-14Removed unnecessary ItemProxy casts after removal of EntityProxyAndrew Branson
2014-05-08Agent now extends Item, so they can have workflows. All traces of theAndrew Branson
old 'Entity' superclasses should be removed, including proxies and paths. Very large change, breaks API compatibility with CRISTAL 2.x. Fixes #135
2014-04-11OutcomeInitiator interface to create initial states of outcomes if emptyAndrew Branson
in the Job. Called when job.getOutcome() is called when none exists. Viewpoint last still overrides. Fixes #47
2014-04-09Improve property dumping, using Object.toString and giving the propertyAndrew Branson
class.
2014-03-06ActivityDefs loaded from ActDefCache get a 'Version' property set withAndrew Branson
their Viewpoint name so the resulting Activity's version will be set correctly. Refs #168
2014-02-26Properties extended as ObjectProperties, which can return any Object,Andrew Branson
and wrap int and boolean parsing. Gateway.getProperties() returns the new ObjectProperty instance. Old Gateway property methods still present but deprecated. Refs #149
2014-01-23Refactored Resource into a new ResourceLoader interface, which allowsAndrew Branson
CRISTAL processes in other enviroments with complex class loading (e.g. OSGi) to supply their own resource and class loader to the kernel and its modules. Fixes #149
2013-11-183.0-SNAPSHOT (Will be first open source version)Andrew Branson
New StateMachine desc IssueID #28
2013-09-20Synchronize on the hardCache, as it occasionally causes exceptions.Andrew Branson
2013-07-10CastorXMLUtility switched to recommended XMLContext. Should be fasterAndrew Branson
and may help with IssueID #132
2013-07-09Better debugging:Andrew Branson
ProxyLoader logs error at log(7) CastorXMLUtility creates an Unmarshaller in the constructor to detect mapfile problems then rather than on first use. Mapping objects don't do it.
2013-06-27Removed CERN schema 'BreakApart' propertyAndrew Branson
2013-04-05Debug resource location at log 5Andrew Branson
2013-02-28Memory-only cluster storage for testing.Andrew Branson
Test properties file.
2013-02-28RemoveNonStrongRefCache, as it didn't add anything to Map.Andrew Branson
2013-02-14Give module namespace in text resource load log.Andrew Branson
2013-02-13getAllTextResources finds all matching in kernel and modulesAndrew Branson
getAllBaseURLs returns all modules and kernel findTextResource searches kernel first - no overriding
2013-02-13Log header changed from c2kernel to CRISTAL for clarityAndrew Branson
2013-02-04Import cleanupAndrew Branson
2013-01-25I AM A GOLDEN GOD OF I18NAndrew Branson
2013-01-24Fix crash when module ResourceURL is invalidAndrew Branson
2012-12-18Added optional WeakCache to hold fewer ClusterStorage objects in memory.Andrew Branson
Enabled with Storage.useWeakCache property. Useful for large imports and other operations that involve accessing a large number of items over a short period.
2012-11-09Create proper constructor for Schema.Andrew Branson
2012-11-09Hanging open bufferAndrew Branson
2012-11-09Tidy up CastorXMLUtility. adding new mappings is now private, to helpAndrew Branson
lock down the kernel mappings.
2012-08-22Rename clashing parameter namesAndrew Branson
2012-08-03Logging and error message clean-upAndrew Branson
Logger.debug(String) now deprecated so they're easier to spot when left in.