|
I have some Java code similar to:
public class Thing { private IPolicy policy; public Thing(IPolicy policy) { this.policy = policy; } public void doSomething() { this.policy.execute(); } }
My question is: is it possible to do this with generics rather...
Started by jjujuma on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Whether or not an action is allowed)? That means....
Isn't it the policy itself that you depend on, rather than just the type of policy? Aren't you going to want to ask the policy questions (e.g.
I don't think that makes a lot of sense.
|
|
We used to have a company policy that stated that we were to use an automated back up tool to back up the important directories on our workstations to network drives. I was just informed by one of our Architects that we were no longer allowed to backup...
Started by jsvanhorn on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Serious backup policy is grounded on having regular automated backups, verifying that the backups work.
|
|
When I first discovered the Strategy pattern, I was amazed of the seemingly endless possibilities it offered to me and my programs. I could better encapsulate my models' behaviour and even exchange this behaviour on the fly. But the strategy could also...
Started by mstrobl on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
That being said:
A policy, being determined for each customer, whether via a web interface, or by hand, this would be a policy-based pattern.
That treat functions as first class citizens like python.
|
Ask your Facebook Friends
|
This is going to sound like a noob question, but I have set up a new GPO which isn't applying to a particular user when they log in, nor is it applying when you run the Group Policy Results wizard.. I know that they are in the correct OU, the correct ...
Started by Kev Hodgson on
, 13 posts
by 4 people.
Answer Snippets (Read the full thread at spiceworks):
It is allways good to have some OU container in root of AD for testing, ... .
You must check if some of the policies override settings of your new policy.
Check all GP's that apply to that specific container in Group Policy Management.
|
|
Is there a reason why opendir doesn't have the same policy than open in Perl Best Practices ?
I'm thinking about at least these 2 policies:
Perl::Critic::Policy::InputOutput::ProhibitBarewordFileHandles Perl::Critic::Policy::InputOutput::RequireBriefOpen...
Started by sebthebert on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Most Policy modules are based Policy is
Close filehandles ....
Policy you mention) was
Don't use bareword filehandles
which applies to much more than just open::Policy modules that attempt to enforce various coding guidelines.
|
|
When using Aspect Oriented Programming with Policy injection, how do you deal with policy errors gracefully in your design?
In Aspect Oriented Programming the objects should be unconcerned with how a particular policy is configured, but a particular policy...
Started by Mark Rogers on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Why not have your aspect that injects the policy validate it/handle errors that may occur?
If you consider the policy to be an "aspect" of the system then the specific aspect should handle everything that has to do with that policy....
|
|
DeCA has a wonderful coupon policy that is clear cut and mandated to all stores. This is a fact we should all appreciate. With this policy in place we should find a consistent practice throughout all stores and cashiers. But unfortunately this is not ...
Started by nomadicpixie on
, 25 posts
by 12 people.
Answer Snippets (Read the full thread at afullcup):
Coupon policy is DeCA wide, which means that all of our 252 commissaries adhere to the same policy in print evidence of the overage policy I could get for my binder? I can just see them overriding it with just the coupon value now....
|
|
I have set a policy to enforce screensaver with a lockout after 7 minutes prompting for password. I have found that there are a few machines as exemptions. I have made another policy to disable the screensaver for devices that are part of a particular...
Started by JohnyV on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
You'd do Disabled , and select the Deny for the Apply Group... .
It's better than applying the policy to everything, then trying to undo some of it.
A neater way to do this is to apply the screensaver policy only to machines that should have it.
|
|
Drafting up an email retention policy for our MS Exchange 2003 system. Curious as to what other people have as a policy -- how many days to keep online, delete, etc. Thanks!
Started by Matt Rogish on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Our document retention policy (drafted by Legal) states that emails older than 90 days must the governance of our document retention....
It should be part of your overall document retention policy, not just a policy for your Exchange server.
|
|
Our IT Support Dept. releases an internal software product that I write via group policy.
Is it possible to force an update of a particular group policy software install without asking the users to log off and log back on to their machines?
Started by MrEdmundo on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
It can also be tailored to update the user or computer policy with the switch
/target
For Win 2000:
secedit /refreshpolicy machine_policy /enforce
Not sure about XP but you could try both.
policy update.
|