Search:

Type: Posts; User: tnine; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Proxy concrete class not working as expected in v 3.2.0

    Hi guys,
    I'm using Jersey, and Spring for AOP. In the rest tier, I need to set my proxy target type to be of the target class. This is due to resources not using interfaces (as expected). ...
  2. ClientDetailsService service and initial persistence for OAuth 2.0 and automatic auth

    Hi guys,
    I'm going through all the demos for OAuth 2.0, and I'm now trying to set up my Authorization server. In our architecture we'll have 1 Authorization application, and several resource...
  3. Replies
    1
    Views
    508

    Unable to build latest master with maven 3

    Hey guys,
    I've tried to build with no joy several times now from the latest master branch. I'm using maven 3.0.3. Here is the output from my build.




    ...
  4. Autocreating a proxy for a chain of targets based on interface

    Hi All,

    I have a problem and I'm unsure how to approach it. I've used spring since v 1.0, and I'm very comfortable with the framework. Here is our use case.


    * We must have 0 downtime

    *...
  5. Replies
    5
    Views
    1,321

    Hi Dave, Thanks for the input. I've played a...

    Hi Dave,
    Thanks for the input. I've played a bit more, and I've encountered 2 major issues.

    1. Using maven 2 with the latest release 2.1.6.RELEASE,, it causes issues with transitive...
  6. Replies
    5
    Views
    1,321

    Hi Dave, Essentially I envision the...

    Hi Dave,
    Essentially I envision the implementation to be similar to our in house SEDA framework. We use a P2P architecture in our java application runtime nodes, and use ZK too coordinate peers...
  7. Replies
    5
    Views
    1,321

    Input with migration from Quartz

    Hi all,
    We're currently using Quartz in a distributed environment. I've written my own JobStore that uses a combination of Zookeeper for distributed scheduling/locking and Cassandra for...
  8. Replies
    2
    Views
    1,165

    Here's an example class for anyone else looking...

    Here's an example class for anyone else looking for this answer. Note that this assumes the application context has been set into the scheduler context with the given key




    /**
    * @author...
  9. Replies
    2
    Views
    1,165

    Extending SpringBeanJobFactory

    Hi all,
    I want to create an extension of the SpringBeanJobFactory that performs annotation scanning and auto wires dependencies from an application context. Which class in the framework do I use...
  10. Replies
    0
    Views
    608

    Help with @PostConstruct mediator

    Hi all,
    Our app uses a mix of JDO and straight DAO objects. I have created an interface "MigrationCapable". I'm using @Autowired in the following code.



    @Configuration
    public class...
  11. Strange issues with method overloading and runtime annotations

    Hi all,
    I'm having some weird issues using JoinPoints for custom validation interception. I have defined the following annotations.



    /**
    * Annotates methods arguments that should be...
  12. Ok, I just solved my own issue. I have another...

    Ok, I just solved my own issue. I have another service "ClusterManager". It has this code in it.




    @PostConstruct
    public void setupListeners(){
    Map<String, IClusteredService> beans =...
  13. Autowired dependencies not initializing in correct order

    Hi all,
    I have 3 services that are running to coordinate my distributed queue environment.

    IElectionWatcher
    INodeWatcher
    IPointQueueLoadBalancer

    I have the following @PostConstruct methods...
  14. FactoryBean depends on other spring beans. No @PostConstruct before getBean

    Hi all,
    I have a situation I'm having a bit of trouble with. I have a factory bean I've created to created my own Quartz Scheduler as the factory provided in spring doesn't meeT my needs.
    ...
  15. Replies
    2
    Views
    1,001

    There is no dependency between all the services. ...

    There is no dependency between all the services. All of these spring service singletons run independently of one another within JVMs and use Zookeeper to stay coordinated across the cluster. I've...
  16. Replies
    2
    Views
    1,001

    Controlling bean @PostConstructor order

    Hi all,
    I have a relatively straightforward issue I can't seem to find an answer for. We're implementing clustering via spring beans, and I need to make sure beans with @PostConstruct are called...
  17. Replies
    2
    Views
    1,828

    Modifying spring Batch to use Zookeeper

    Hi all,
    I'm new to Spring Batch, but I've used Quartz quite a bit in the past. We have a distributed environment that uses ZooKeeper to perform leader election, as well as keep grid jobs...
  18. Same persistence manager over multiple transactions causing cache bugs

    Hi all,
    I'm implementing a JDO adapter for Datanucleus using Cassandra. Everything works with just my plugin, however when I wrap it with spring for our application, we're getting some really...
  19. Best CommonJ implementation for standalone app in cluster

    Hi all,
    I have several services I need to run as executable jars. They're simply worker processes in a cluster, so EJB and JBoss is overkill. What is the best CommonJ implementation for...
  20. Creating custom events and context aware beans

    Hi all,
    I'm creating an event wrapping system that makes use of the ApplicationEvent framework within spring. I have essentially 3 types of events.

    Synchronous
    Asynchronous
    Future
    ...
  21. Annotations on target joinpoint not returned on subclasses

    Hi all,
    I'm having a very strange issue. I've written an aspect that performs validation on our DAO tier for all model objects that have the @Check annotation on them. Here is my code


    ...
  22. I think I finally have it. I have this for my...

    I think I finally have it. I have this for my expression



    @Before(value="execution(* *(..,@com.aviator.validation.Check (*),..))")


    From my understanding of the syntax, this means before...
  23. I've figured out the problem. Since my...

    I've figured out the problem. Since my annotations will be on my target, I'll need to change my annotation reflection to be on the target object, not the joinpoint. I have the class below. However...
  24. Unable to find annotations via reflection but advice is still executed

    Hi all,
    I'm writing a JSR 303 aspect that will validate input into our service tier. This thread was very helpful getting my before advice matching set up.
    ...
  25. For anyone else who reads this, I changed a few...

    For anyone else who reads this, I changed a few things. First, I gave up on detecting specific method argument with the AOP syntax, I simply couldn't get it to work. Instead, I now annotate the...
Results 1 to 25 of 97
Page 1 of 4 1 2 3 4